{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/420","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/420/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/420/events","html_url":"https://github.com/ReactiveX/RxJS/pull/420","id":108981365,"number":420,"title":"Add resultSelector argument to both `first` and `last` operators","user":{"login":"blesh","id":1540597,"avatar_url":"https://avatars.githubusercontent.com/u/1540597?v=3","gravatar_id":"","url":"https://api.github.com/users/blesh","html_url":"https://github.com/blesh","followers_url":"https://api.github.com/users/blesh/followers","following_url":"https://api.github.com/users/blesh/following{/other_user}","gists_url":"https://api.github.com/users/blesh/gists{/gist_id}","starred_url":"https://api.github.com/users/blesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesh/subscriptions","organizations_url":"https://api.github.com/users/blesh/orgs","repos_url":"https://api.github.com/users/blesh/repos","events_url":"https://api.github.com/users/blesh/events{/privacy}","received_events_url":"https://api.github.com/users/blesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-29T23:36:57Z","updated_at":"2015-09-30T20:21:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/420","html_url":"https://github.com/ReactiveX/RxJS/pull/420","diff_url":"https://github.com/ReactiveX/RxJS/pull/420.diff","patch_url":"https://github.com/ReactiveX/RxJS/pull/420.patch"},"body":"Just what it says. This was primarily for\r\n\r\n1. to enable a user to use `first` to select an `index` if they so choose, effectively replacing `findIndex` as any sort of need in CoreOperators.\r\n2. Consistency, so that `first` and `last` have identical signatures...\r\n\r\nTo be bikeshedded: \r\n\r\n- the usefulness of the `thisArg`\r\n- argument order"},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/comments/144529329","html_url":"https://github.com/ReactiveX/RxJS/pull/420#issuecomment-144529329","issue_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/420","id":144529329,"user":{"login":"staltz","id":90512,"avatar_url":"https://avatars.githubusercontent.com/u/90512?v=3","gravatar_id":"","url":"https://api.github.com/users/staltz","html_url":"https://github.com/staltz","followers_url":"https://api.github.com/users/staltz/followers","following_url":"https://api.github.com/users/staltz/following{/other_user}","gists_url":"https://api.github.com/users/staltz/gists{/gist_id}","starred_url":"https://api.github.com/users/staltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staltz/subscriptions","organizations_url":"https://api.github.com/users/staltz/orgs","repos_url":"https://api.github.com/users/staltz/repos","events_url":"https://api.github.com/users/staltz/events{/privacy}","received_events_url":"https://api.github.com/users/staltz/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T20:21:10Z","updated_at":"2015-09-30T20:21:10Z","body":"Summoning @mattpodwysocki for this"}}