{"action":"created","issue":{"url":"https://api.github.com/repos/ramda/ramda/issues/1406","labels_url":"https://api.github.com/repos/ramda/ramda/issues/1406/labels{/name}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1406/comments","events_url":"https://api.github.com/repos/ramda/ramda/issues/1406/events","html_url":"https://github.com/ramda/ramda/pull/1406","id":108434409,"number":1406,"title":"Add R.pathOr","user":{"login":"jimf","id":413269,"avatar_url":"https://avatars.githubusercontent.com/u/413269?v=3","gravatar_id":"","url":"https://api.github.com/users/jimf","html_url":"https://github.com/jimf","followers_url":"https://api.github.com/users/jimf/followers","following_url":"https://api.github.com/users/jimf/following{/other_user}","gists_url":"https://api.github.com/users/jimf/gists{/gist_id}","starred_url":"https://api.github.com/users/jimf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimf/subscriptions","organizations_url":"https://api.github.com/users/jimf/orgs","repos_url":"https://api.github.com/users/jimf/repos","events_url":"https://api.github.com/users/jimf/events{/privacy}","received_events_url":"https://api.github.com/users/jimf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-26T02:21:02Z","updated_at":"2015-09-26T18:29:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1406","html_url":"https://github.com/ramda/ramda/pull/1406","diff_url":"https://github.com/ramda/ramda/pull/1406.diff","patch_url":"https://github.com/ramda/ramda/pull/1406.patch"},"body":"Implement R.pathOr as per the invitation for PR in #1054."},"comment":{"url":"https://api.github.com/repos/ramda/ramda/issues/comments/143478286","html_url":"https://github.com/ramda/ramda/pull/1406#issuecomment-143478286","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1406","id":143478286,"user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T18:29:28Z","updated_at":"2015-09-26T18:29:28Z","body":"> I'm wondering about the reasons against implementing this in terms of `path` and `defaultTo` internally.\r\n\r\nIt seems we could use these functions to avoid duplicating code. Mind trying that, @jimf?\r\n\r\n> A couple of your comments would apply to the `R.path` implementation as well. Thoughts on making those same mods there, either as part of this PR or another?\r\n\r\nLet's include the `R.path` tweaks in this pull request.\r\n"}}