{"action":"created","comment":{"url":"https://api.github.com/repos/ramda/ramda/pulls/comments/42567554","id":42567554,"diff_hunk":"@@ -0,0 +1,25 @@\n+var _contains = require('./internal/_contains');\n+var flip = require('./flip');\n+var identity = require('./identity');\n+var reject = require('./reject');\n+var useWith = require('./useWith');\n+\n+/**\n+ * Returns a new list without values in the first argument.\n+ * `R.equals` is used to determine equality.\n+ *\n+ * Acts as a transducer if a transformer is given in list position.\n+ * @see R.transduce\n+ *\n+ * @func\n+ * @memberOf R\n+ * @category List\n+ * @sig [a] -> [a] -> [a]\n+ * @param {Array} list1 The values to be removed from `list2`.\n+ * @param {Array} list2 The array to remove values from.\n+ * @return {Array} The new array without values in `list1`.\n+ * @example\n+ *\n+ *      R.without([1, 2], [1, 2, 1, 3, 4]); //=> [3, 4]\n+ */\n+module.exports = useWith(reject, [flip(_contains), identity]);","path":"src/without.js","position":25,"original_position":25,"commit_id":"94e13cc259811803f84acd22b3bca65aa970012e","original_commit_id":"94e13cc259811803f84acd22b3bca65aa970012e","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},"body":"I'd prefer not to use `useWith` internally. A lambda would reduce the number of Ramda functions involved in this definition, reducing the footprint of `require('ramda/src/without')` when using Browserify or similar.\r\n","created_at":"2015-10-20T23:21:39Z","updated_at":"2015-10-20T23:21:39Z","html_url":"https://github.com/ramda/ramda/pull/1423#discussion_r42567554","pull_request_url":"https://api.github.com/repos/ramda/ramda/pulls/1423","_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments/42567554"},"html":{"href":"https://github.com/ramda/ramda/pull/1423#discussion_r42567554"},"pull_request":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1423"}}},"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1423","id":46725858,"html_url":"https://github.com/ramda/ramda/pull/1423","diff_url":"https://github.com/ramda/ramda/pull/1423.diff","patch_url":"https://github.com/ramda/ramda/pull/1423.patch","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1423","number":1423,"state":"open","locked":false,"title":"Add R.without","user":{"login":"raine","id":11027,"avatar_url":"https://avatars.githubusercontent.com/u/11027?v=3","gravatar_id":"","url":"https://api.github.com/users/raine","html_url":"https://github.com/raine","followers_url":"https://api.github.com/users/raine/followers","following_url":"https://api.github.com/users/raine/following{/other_user}","gists_url":"https://api.github.com/users/raine/gists{/gist_id}","starred_url":"https://api.github.com/users/raine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raine/subscriptions","organizations_url":"https://api.github.com/users/raine/orgs","repos_url":"https://api.github.com/users/raine/repos","events_url":"https://api.github.com/users/raine/events{/privacy}","received_events_url":"https://api.github.com/users/raine/received_events","type":"User","site_admin":false},"body":"As I proposed on gitter,\r\n\r\n```js\r\nwithout :: a -> [a] -> [a]\r\n```","created_at":"2015-10-04T14:26:17Z","updated_at":"2015-10-20T23:21:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff5f8deef86168728d44a07e9d958bf611686437","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ramda/ramda/pulls/1423/commits","review_comments_url":"https://api.github.com/repos/ramda/ramda/pulls/1423/comments","review_comment_url":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1423/comments","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/94e13cc259811803f84acd22b3bca65aa970012e","head":{"label":"raine:without","ref":"without","sha":"94e13cc259811803f84acd22b3bca65aa970012e","user":{"login":"raine","id":11027,"avatar_url":"https://avatars.githubusercontent.com/u/11027?v=3","gravatar_id":"","url":"https://api.github.com/users/raine","html_url":"https://github.com/raine","followers_url":"https://api.github.com/users/raine/followers","following_url":"https://api.github.com/users/raine/following{/other_user}","gists_url":"https://api.github.com/users/raine/gists{/gist_id}","starred_url":"https://api.github.com/users/raine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raine/subscriptions","organizations_url":"https://api.github.com/users/raine/orgs","repos_url":"https://api.github.com/users/raine/repos","events_url":"https://api.github.com/users/raine/events{/privacy}","received_events_url":"https://api.github.com/users/raine/received_events","type":"User","site_admin":false},"repo":{"id":32015448,"name":"ramda","full_name":"raine/ramda","owner":{"login":"raine","id":11027,"avatar_url":"https://avatars.githubusercontent.com/u/11027?v=3","gravatar_id":"","url":"https://api.github.com/users/raine","html_url":"https://github.com/raine","followers_url":"https://api.github.com/users/raine/followers","following_url":"https://api.github.com/users/raine/following{/other_user}","gists_url":"https://api.github.com/users/raine/gists{/gist_id}","starred_url":"https://api.github.com/users/raine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raine/subscriptions","organizations_url":"https://api.github.com/users/raine/orgs","repos_url":"https://api.github.com/users/raine/repos","events_url":"https://api.github.com/users/raine/events{/privacy}","received_events_url":"https://api.github.com/users/raine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raine/ramda","description":":ram: Practical functional Javascript","fork":true,"url":"https://api.github.com/repos/raine/ramda","forks_url":"https://api.github.com/repos/raine/ramda/forks","keys_url":"https://api.github.com/repos/raine/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raine/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raine/ramda/teams","hooks_url":"https://api.github.com/repos/raine/ramda/hooks","issue_events_url":"https://api.github.com/repos/raine/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/raine/ramda/events","assignees_url":"https://api.github.com/repos/raine/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/raine/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/raine/ramda/tags","blobs_url":"https://api.github.com/repos/raine/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raine/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raine/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/raine/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raine/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/raine/ramda/languages","stargazers_url":"https://api.github.com/repos/raine/ramda/stargazers","contributors_url":"https://api.github.com/repos/raine/ramda/contributors","subscribers_url":"https://api.github.com/repos/raine/ramda/subscribers","subscription_url":"https://api.github.com/repos/raine/ramda/subscription","commits_url":"https://api.github.com/repos/raine/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/raine/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/raine/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/raine/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/raine/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/raine/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raine/ramda/merges","archive_url":"https://api.github.com/repos/raine/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raine/ramda/downloads","issues_url":"https://api.github.com/repos/raine/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/raine/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/raine/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/raine/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raine/ramda/labels{/name}","releases_url":"https://api.github.com/repos/raine/ramda/releases{/id}","created_at":"2015-03-11T12:04:57Z","updated_at":"2015-03-11T12:04:58Z","pushed_at":"2015-10-18T06:33:49Z","git_url":"git://github.com/raine/ramda.git","ssh_url":"git@github.com:raine/ramda.git","clone_url":"https://github.com/raine/ramda.git","svn_url":"https://github.com/raine/ramda","homepage":"http://ramdajs.com","size":5176,"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":"66c1e1eeec961f89ecc186d4c59c5c2d23e4aebc","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":":ram: 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-10-20T22:29:22Z","pushed_at":"2015-10-20T22:23:06Z","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":12137,"stargazers_count":2943,"watchers_count":2943,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":224,"mirror_url":null,"open_issues_count":68,"forks":224,"open_issues":68,"watchers":2943,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1423"},"html":{"href":"https://github.com/ramda/ramda/pull/1423"},"issue":{"href":"https://api.github.com/repos/ramda/ramda/issues/1423"},"comments":{"href":"https://api.github.com/repos/ramda/ramda/issues/1423/comments"},"review_comments":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1423/comments"},"review_comment":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1423/commits"},"statuses":{"href":"https://api.github.com/repos/ramda/ramda/statuses/94e13cc259811803f84acd22b3bca65aa970012e"}}}}