{"action":"closed","number":788,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/788","id":28946887,"html_url":"https://github.com/ramda/ramda/pull/788","diff_url":"https://github.com/ramda/ramda/pull/788.diff","patch_url":"https://github.com/ramda/ramda/pull/788.patch","issue_url":"https://api.github.com/repos/ramda/ramda/issues/788","number":788,"state":"closed","locked":false,"title":"Add defaultValue","user":{"login":"TheLudd","id":557295,"avatar_url":"https://avatars.githubusercontent.com/u/557295?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLudd","html_url":"https://github.com/TheLudd","followers_url":"https://api.github.com/users/TheLudd/followers","following_url":"https://api.github.com/users/TheLudd/following{/other_user}","gists_url":"https://api.github.com/users/TheLudd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLudd/subscriptions","organizations_url":"https://api.github.com/users/TheLudd/orgs","repos_url":"https://api.github.com/users/TheLudd/repos","events_url":"https://api.github.com/users/TheLudd/events{/privacy}","received_events_url":"https://api.github.com/users/TheLudd/received_events","type":"User","site_admin":false},"body":"A function that takes two arguments and returns the first argument if\r\nthe second one is null/undefined. Otherwize the second one is returned.\r\n\r\nBasically a functional version of\r\n\r\n    var list = someVariable || [];","created_at":"2015-02-09T19:02:18Z","updated_at":"2015-02-12T14:39:49Z","closed_at":"2015-02-12T14:39:49Z","merged_at":"2015-02-12T14:39:49Z","merge_commit_sha":"e23f77b318c440d64fe3d0f759165a492a3fb9e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ramda/ramda/pulls/788/commits","review_comments_url":"https://api.github.com/repos/ramda/ramda/pulls/788/comments","review_comment_url":"https://api.github.com/repos/ramda/ramda/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/788/comments","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/5a45ae4082ebbaf25b35d9bbba0ecaa89c74e524","head":{"label":"TheLudd:default-value","ref":"default-value","sha":"5a45ae4082ebbaf25b35d9bbba0ecaa89c74e524","user":{"login":"TheLudd","id":557295,"avatar_url":"https://avatars.githubusercontent.com/u/557295?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLudd","html_url":"https://github.com/TheLudd","followers_url":"https://api.github.com/users/TheLudd/followers","following_url":"https://api.github.com/users/TheLudd/following{/other_user}","gists_url":"https://api.github.com/users/TheLudd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLudd/subscriptions","organizations_url":"https://api.github.com/users/TheLudd/orgs","repos_url":"https://api.github.com/users/TheLudd/repos","events_url":"https://api.github.com/users/TheLudd/events{/privacy}","received_events_url":"https://api.github.com/users/TheLudd/received_events","type":"User","site_admin":false},"repo":{"id":24944442,"name":"ramda","full_name":"TheLudd/ramda","owner":{"login":"TheLudd","id":557295,"avatar_url":"https://avatars.githubusercontent.com/u/557295?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLudd","html_url":"https://github.com/TheLudd","followers_url":"https://api.github.com/users/TheLudd/followers","following_url":"https://api.github.com/users/TheLudd/following{/other_user}","gists_url":"https://api.github.com/users/TheLudd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLudd/subscriptions","organizations_url":"https://api.github.com/users/TheLudd/orgs","repos_url":"https://api.github.com/users/TheLudd/repos","events_url":"https://api.github.com/users/TheLudd/events{/privacy}","received_events_url":"https://api.github.com/users/TheLudd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheLudd/ramda","description":"Practical functional Javascript","fork":true,"url":"https://api.github.com/repos/TheLudd/ramda","forks_url":"https://api.github.com/repos/TheLudd/ramda/forks","keys_url":"https://api.github.com/repos/TheLudd/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheLudd/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheLudd/ramda/teams","hooks_url":"https://api.github.com/repos/TheLudd/ramda/hooks","issue_events_url":"https://api.github.com/repos/TheLudd/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/TheLudd/ramda/events","assignees_url":"https://api.github.com/repos/TheLudd/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/TheLudd/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/TheLudd/ramda/tags","blobs_url":"https://api.github.com/repos/TheLudd/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheLudd/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheLudd/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheLudd/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheLudd/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/TheLudd/ramda/languages","stargazers_url":"https://api.github.com/repos/TheLudd/ramda/stargazers","contributors_url":"https://api.github.com/repos/TheLudd/ramda/contributors","subscribers_url":"https://api.github.com/repos/TheLudd/ramda/subscribers","subscription_url":"https://api.github.com/repos/TheLudd/ramda/subscription","commits_url":"https://api.github.com/repos/TheLudd/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheLudd/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheLudd/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheLudd/ramda/issues/comments/{number}","contents_url":"https://api.github.com/repos/TheLudd/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/TheLudd/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheLudd/ramda/merges","archive_url":"https://api.github.com/repos/TheLudd/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheLudd/ramda/downloads","issues_url":"https://api.github.com/repos/TheLudd/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/TheLudd/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/TheLudd/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/TheLudd/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheLudd/ramda/labels{/name}","releases_url":"https://api.github.com/repos/TheLudd/ramda/releases{/id}","created_at":"2014-10-08T14:27:32Z","updated_at":"2015-02-12T08:50:15Z","pushed_at":"2015-02-12T10:04:46Z","git_url":"git://github.com/TheLudd/ramda.git","ssh_url":"git@github.com:TheLudd/ramda.git","clone_url":"https://github.com/TheLudd/ramda.git","svn_url":"https://github.com/TheLudd/ramda","homepage":"http://ramdajs.com","size":4011,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ramda:master","ref":"master","sha":"7957dab64394c2b178ad098cabca661cbc868dba","user":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"repo":{"id":10851820,"name":"ramda","full_name":"ramda/ramda","owner":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ramda/ramda","description":"Practical functional Javascript","fork":false,"url":"https://api.github.com/repos/ramda/ramda","forks_url":"https://api.github.com/repos/ramda/ramda/forks","keys_url":"https://api.github.com/repos/ramda/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramda/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramda/ramda/teams","hooks_url":"https://api.github.com/repos/ramda/ramda/hooks","issue_events_url":"https://api.github.com/repos/ramda/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/ramda/ramda/events","assignees_url":"https://api.github.com/repos/ramda/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/ramda/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/ramda/ramda/tags","blobs_url":"https://api.github.com/repos/ramda/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramda/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramda/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramda/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/ramda/ramda/languages","stargazers_url":"https://api.github.com/repos/ramda/ramda/stargazers","contributors_url":"https://api.github.com/repos/ramda/ramda/contributors","subscribers_url":"https://api.github.com/repos/ramda/ramda/subscribers","subscription_url":"https://api.github.com/repos/ramda/ramda/subscription","commits_url":"https://api.github.com/repos/ramda/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramda/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramda/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramda/ramda/issues/comments/{number}","contents_url":"https://api.github.com/repos/ramda/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/ramda/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramda/ramda/merges","archive_url":"https://api.github.com/repos/ramda/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramda/ramda/downloads","issues_url":"https://api.github.com/repos/ramda/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/ramda/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/ramda/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/ramda/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramda/ramda/labels{/name}","releases_url":"https://api.github.com/repos/ramda/ramda/releases{/id}","created_at":"2013-06-21T20:32:35Z","updated_at":"2015-02-12T12:52:55Z","pushed_at":"2015-02-12T14:39:49Z","git_url":"git://github.com/ramda/ramda.git","ssh_url":"git@github.com:ramda/ramda.git","clone_url":"https://github.com/ramda/ramda.git","svn_url":"https://github.com/ramda/ramda","homepage":"http://ramdajs.com","size":8671,"stargazers_count":1607,"watchers_count":1607,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"open_issues_count":23,"forks":120,"open_issues":23,"watchers":1607,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/788"},"html":{"href":"https://github.com/ramda/ramda/pull/788"},"issue":{"href":"https://api.github.com/repos/ramda/ramda/issues/788"},"comments":{"href":"https://api.github.com/repos/ramda/ramda/issues/788/comments"},"review_comments":{"href":"https://api.github.com/repos/ramda/ramda/pulls/788/comments"},"review_comment":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ramda/ramda/pulls/788/commits"},"statuses":{"href":"https://api.github.com/repos/ramda/ramda/statuses/5a45ae4082ebbaf25b35d9bbba0ecaa89c74e524"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"buzzdecafe","id":716260,"avatar_url":"https://avatars.githubusercontent.com/u/716260?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzdecafe","html_url":"https://github.com/buzzdecafe","followers_url":"https://api.github.com/users/buzzdecafe/followers","following_url":"https://api.github.com/users/buzzdecafe/following{/other_user}","gists_url":"https://api.github.com/users/buzzdecafe/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzdecafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzdecafe/subscriptions","organizations_url":"https://api.github.com/users/buzzdecafe/orgs","repos_url":"https://api.github.com/users/buzzdecafe/repos","events_url":"https://api.github.com/users/buzzdecafe/events{/privacy}","received_events_url":"https://api.github.com/users/buzzdecafe/received_events","type":"User","site_admin":false},"comments":29,"review_comments":2,"commits":1,"additions":88,"deletions":5,"changed_files":3}}