{"action":"created","comment":{"url":"https://api.github.com/repos/fsprojects/Paket/pulls/comments/122216009","pull_request_review_id":44312889,"id":122216009,"diff_hunk":"@@ -17,34 +18,47 @@ module AsyncExtensions =\n             let! b'' = b'\n             return (a'',b'')\n         }\n-\n-    static member Choice(tasks : Async<'T option> seq) = async {\n+    static member map f a =\n+        async { return f a }\n+    static member tryFind (f : 'T -> bool) (tasks : Async<'T> seq) = async {","path":"src/Paket.Core/Common/Async.fs","position":16,"original_position":16,"commit_id":"5e167334bdc64725d7665871b0e4be945f90aed5","original_commit_id":"5e167334bdc64725d7665871b0e4be945f90aed5","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars3.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"body":"This is an interesting API.\r\nIt is almost like `Async.Choice`, but will return all the started tasks and an index which one matched the given function.","created_at":"2017-06-15T14:24:52Z","updated_at":"2017-06-15T14:32:31Z","html_url":"https://github.com/fsprojects/Paket/pull/2423#discussion_r122216009","pull_request_url":"https://api.github.com/repos/fsprojects/Paket/pulls/2423","_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Paket/pulls/comments/122216009"},"html":{"href":"https://github.com/fsprojects/Paket/pull/2423#discussion_r122216009"},"pull_request":{"href":"https://api.github.com/repos/fsprojects/Paket/pulls/2423"}}},"pull_request":{"url":"https://api.github.com/repos/fsprojects/Paket/pulls/2423","id":125804253,"html_url":"https://github.com/fsprojects/Paket/pull/2423","diff_url":"https://github.com/fsprojects/Paket/pull/2423.diff","patch_url":"https://github.com/fsprojects/Paket/pull/2423.patch","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/2423","number":2423,"state":"open","locked":false,"title":"[WIP] Improve error reporting","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars3.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"body":"This improves output and internal error propagation in the NuGet-RequestVersions code.\r\nThe goal is to output in the error case which urls where requested and what reponse we got from them...\r\n\r\nFor now this is WIP, because I think there might be some cases now where we print way too much info (in the non-verbose case).","created_at":"2017-06-15T11:52:35Z","updated_at":"2017-06-15T14:32:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ce4e9b3069f131d5c5ed0d859e068155da20a42","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/fsprojects/Paket/pulls/2423/commits","review_comments_url":"https://api.github.com/repos/fsprojects/Paket/pulls/2423/comments","review_comment_url":"https://api.github.com/repos/fsprojects/Paket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/2423/comments","statuses_url":"https://api.github.com/repos/fsprojects/Paket/statuses/5e167334bdc64725d7665871b0e4be945f90aed5","head":{"label":"fsprojects:improve_error_reporting","ref":"improve_error_reporting","sha":"5e167334bdc64725d7665871b0e4be945f90aed5","user":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars1.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":22755810,"name":"Paket","full_name":"fsprojects/Paket","owner":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars1.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsprojects/Paket","description":"A dependency manager for .NET with support for NuGet packages and Git repositories.","fork":false,"url":"https://api.github.com/repos/fsprojects/Paket","forks_url":"https://api.github.com/repos/fsprojects/Paket/forks","keys_url":"https://api.github.com/repos/fsprojects/Paket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsprojects/Paket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsprojects/Paket/teams","hooks_url":"https://api.github.com/repos/fsprojects/Paket/hooks","issue_events_url":"https://api.github.com/repos/fsprojects/Paket/issues/events{/number}","events_url":"https://api.github.com/repos/fsprojects/Paket/events","assignees_url":"https://api.github.com/repos/fsprojects/Paket/assignees{/user}","branches_url":"https://api.github.com/repos/fsprojects/Paket/branches{/branch}","tags_url":"https://api.github.com/repos/fsprojects/Paket/tags","blobs_url":"https://api.github.com/repos/fsprojects/Paket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsprojects/Paket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsprojects/Paket/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsprojects/Paket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsprojects/Paket/statuses/{sha}","languages_url":"https://api.github.com/repos/fsprojects/Paket/languages","stargazers_url":"https://api.github.com/repos/fsprojects/Paket/stargazers","contributors_url":"https://api.github.com/repos/fsprojects/Paket/contributors","subscribers_url":"https://api.github.com/repos/fsprojects/Paket/subscribers","subscription_url":"https://api.github.com/repos/fsprojects/Paket/subscription","commits_url":"https://api.github.com/repos/fsprojects/Paket/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsprojects/Paket/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsprojects/Paket/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsprojects/Paket/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsprojects/Paket/contents/{+path}","compare_url":"https://api.github.com/repos/fsprojects/Paket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsprojects/Paket/merges","archive_url":"https://api.github.com/repos/fsprojects/Paket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsprojects/Paket/downloads","issues_url":"https://api.github.com/repos/fsprojects/Paket/issues{/number}","pulls_url":"https://api.github.com/repos/fsprojects/Paket/pulls{/number}","milestones_url":"https://api.github.com/repos/fsprojects/Paket/milestones{/number}","notifications_url":"https://api.github.com/repos/fsprojects/Paket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsprojects/Paket/labels{/name}","releases_url":"https://api.github.com/repos/fsprojects/Paket/releases{/id}","deployments_url":"https://api.github.com/repos/fsprojects/Paket/deployments","created_at":"2014-08-08T11:36:13Z","updated_at":"2017-06-14T08:41:14Z","pushed_at":"2017-06-15T14:19:47Z","git_url":"git://github.com/fsprojects/Paket.git","ssh_url":"git@github.com:fsprojects/Paket.git","clone_url":"https://github.com/fsprojects/Paket.git","svn_url":"https://github.com/fsprojects/Paket","homepage":"https://fsprojects.github.io/Paket/","size":214472,"stargazers_count":949,"watchers_count":949,"language":"F#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":301,"mirror_url":null,"open_issues_count":307,"forks":301,"open_issues":307,"watchers":949,"default_branch":"master"}},"base":{"label":"fsprojects:master","ref":"master","sha":"c24a15c8dfeb658000e9739fa1934328a6359571","user":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars1.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":22755810,"name":"Paket","full_name":"fsprojects/Paket","owner":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars1.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsprojects/Paket","description":"A dependency manager for .NET with support for NuGet packages and Git repositories.","fork":false,"url":"https://api.github.com/repos/fsprojects/Paket","forks_url":"https://api.github.com/repos/fsprojects/Paket/forks","keys_url":"https://api.github.com/repos/fsprojects/Paket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsprojects/Paket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsprojects/Paket/teams","hooks_url":"https://api.github.com/repos/fsprojects/Paket/hooks","issue_events_url":"https://api.github.com/repos/fsprojects/Paket/issues/events{/number}","events_url":"https://api.github.com/repos/fsprojects/Paket/events","assignees_url":"https://api.github.com/repos/fsprojects/Paket/assignees{/user}","branches_url":"https://api.github.com/repos/fsprojects/Paket/branches{/branch}","tags_url":"https://api.github.com/repos/fsprojects/Paket/tags","blobs_url":"https://api.github.com/repos/fsprojects/Paket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsprojects/Paket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsprojects/Paket/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsprojects/Paket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsprojects/Paket/statuses/{sha}","languages_url":"https://api.github.com/repos/fsprojects/Paket/languages","stargazers_url":"https://api.github.com/repos/fsprojects/Paket/stargazers","contributors_url":"https://api.github.com/repos/fsprojects/Paket/contributors","subscribers_url":"https://api.github.com/repos/fsprojects/Paket/subscribers","subscription_url":"https://api.github.com/repos/fsprojects/Paket/subscription","commits_url":"https://api.github.com/repos/fsprojects/Paket/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsprojects/Paket/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsprojects/Paket/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsprojects/Paket/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsprojects/Paket/contents/{+path}","compare_url":"https://api.github.com/repos/fsprojects/Paket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsprojects/Paket/merges","archive_url":"https://api.github.com/repos/fsprojects/Paket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsprojects/Paket/downloads","issues_url":"https://api.github.com/repos/fsprojects/Paket/issues{/number}","pulls_url":"https://api.github.com/repos/fsprojects/Paket/pulls{/number}","milestones_url":"https://api.github.com/repos/fsprojects/Paket/milestones{/number}","notifications_url":"https://api.github.com/repos/fsprojects/Paket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsprojects/Paket/labels{/name}","releases_url":"https://api.github.com/repos/fsprojects/Paket/releases{/id}","deployments_url":"https://api.github.com/repos/fsprojects/Paket/deployments","created_at":"2014-08-08T11:36:13Z","updated_at":"2017-06-14T08:41:14Z","pushed_at":"2017-06-15T14:19:47Z","git_url":"git://github.com/fsprojects/Paket.git","ssh_url":"git@github.com:fsprojects/Paket.git","clone_url":"https://github.com/fsprojects/Paket.git","svn_url":"https://github.com/fsprojects/Paket","homepage":"https://fsprojects.github.io/Paket/","size":214472,"stargazers_count":949,"watchers_count":949,"language":"F#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":301,"mirror_url":null,"open_issues_count":307,"forks":301,"open_issues":307,"watchers":949,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Paket/pulls/2423"},"html":{"href":"https://github.com/fsprojects/Paket/pull/2423"},"issue":{"href":"https://api.github.com/repos/fsprojects/Paket/issues/2423"},"comments":{"href":"https://api.github.com/repos/fsprojects/Paket/issues/2423/comments"},"review_comments":{"href":"https://api.github.com/repos/fsprojects/Paket/pulls/2423/comments"},"review_comment":{"href":"https://api.github.com/repos/fsprojects/Paket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsprojects/Paket/pulls/2423/commits"},"statuses":{"href":"https://api.github.com/repos/fsprojects/Paket/statuses/5e167334bdc64725d7665871b0e4be945f90aed5"}}}}
{"actor":{"display_login":"matthid"}}