{"action":"created","issue":{"url":"https://api.github.com/repos/substantial/updeep/issues/47","labels_url":"https://api.github.com/repos/substantial/updeep/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/substantial/updeep/issues/47/comments","events_url":"https://api.github.com/repos/substantial/updeep/issues/47/events","html_url":"https://github.com/substantial/updeep/issues/47","id":125651852,"number":47,"title":"Why reject instead of filter?","user":{"login":"epeli","id":225712,"avatar_url":"https://avatars.githubusercontent.com/u/225712?v=3","gravatar_id":"","url":"https://api.github.com/users/epeli","html_url":"https://github.com/epeli","followers_url":"https://api.github.com/users/epeli/followers","following_url":"https://api.github.com/users/epeli/following{/other_user}","gists_url":"https://api.github.com/users/epeli/gists{/gist_id}","starred_url":"https://api.github.com/users/epeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epeli/subscriptions","organizations_url":"https://api.github.com/users/epeli/orgs","repos_url":"https://api.github.com/users/epeli/repos","events_url":"https://api.github.com/users/epeli/events{/privacy}","received_events_url":"https://api.github.com/users/epeli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-08T17:11:05Z","updated_at":"2016-01-08T18:02:31Z","closed_at":null,"body":"Arrays have a filter method so it's more familiar to JS  devs. I actually didn't even realize that there is a reject function since I just searched for filter (ctrl+f) and didn't find anything so I just assumed it doesn't exist."},"comment":{"url":"https://api.github.com/repos/substantial/updeep/issues/comments/170075637","html_url":"https://github.com/substantial/updeep/issues/47#issuecomment-170075637","issue_url":"https://api.github.com/repos/substantial/updeep/issues/47","id":170075637,"user":{"login":"epeli","id":225712,"avatar_url":"https://avatars.githubusercontent.com/u/225712?v=3","gravatar_id":"","url":"https://api.github.com/users/epeli","html_url":"https://github.com/epeli","followers_url":"https://api.github.com/users/epeli/followers","following_url":"https://api.github.com/users/epeli/following{/other_user}","gists_url":"https://api.github.com/users/epeli/gists{/gist_id}","starred_url":"https://api.github.com/users/epeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epeli/subscriptions","organizations_url":"https://api.github.com/users/epeli/orgs","repos_url":"https://api.github.com/users/epeli/repos","events_url":"https://api.github.com/users/epeli/events{/privacy}","received_events_url":"https://api.github.com/users/epeli/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T18:02:31Z","updated_at":"2016-01-08T18:02:31Z","body":"> Sorry, are you asking why there is no u.filter and instead there is a u.reject?\r\n\r\nYes.\r\n\r\n> If this is a request for a filter function, then I'd definitely accept a pull request for it\r\n\r\nI don't think it makes sense to have both because converting from one to other is just simple as adding a `!` and one of the reasons I like this library is the fact that it has so small  API surface compared to something like Ramda.\r\n\r\nThe example you provided is exactly what I'm now using. It just doesn't support currying and feels bit weird.\r\n\r\nSo yeah I suggest removing reject and adding filter.\r\n\r\n"}}