{"action":"created","comment":{"url":"https://api.github.com/repos/softwaremill/scala-common/pulls/comments/46253144","id":46253144,"diff_hunk":"@@ -58,4 +58,36 @@ SBT depedency:\n \n ````scala\n libraryDependencies += \"com.softwaremill.common\" %% \"id-generator\" % \"1.0.0\"\n+````\n+\n+## Future Try extensions\n+\n+[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.softwaremill.common/futuretry_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.softwaremill.common/futuretry_2.11)\n+\n+Provides two utility methods for extending `Future`:\n+\n+ - `tried: Future[Try[T]]` - reifying the Future's result.\n+ - `transTry(f: Try[T] => Try[S]): Future[S]` - corresponds to 2.12's new `transform` variant, allowing to supply a single function (if, for example, you already have one handy), ","path":"README.md","position":13,"original_position":13,"commit_id":"70aaebb1e16b25ca823d971b6f5c90662684e900","original_commit_id":"603a5ca813a4d6d98b1ba3dc8c11b7b7c5dd14e5","user":{"login":"mikolak-net","id":1729900,"avatar_url":"https://avatars.githubusercontent.com/u/1729900?v=3","gravatar_id":"","url":"https://api.github.com/users/mikolak-net","html_url":"https://github.com/mikolak-net","followers_url":"https://api.github.com/users/mikolak-net/followers","following_url":"https://api.github.com/users/mikolak-net/following{/other_user}","gists_url":"https://api.github.com/users/mikolak-net/gists{/gist_id}","starred_url":"https://api.github.com/users/mikolak-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikolak-net/subscriptions","organizations_url":"https://api.github.com/users/mikolak-net/orgs","repos_url":"https://api.github.com/users/mikolak-net/repos","events_url":"https://api.github.com/users/mikolak-net/events{/privacy}","received_events_url":"https://api.github.com/users/mikolak-net/received_events","type":"User","site_admin":false},"body":"@lukaszlenart only with emacs through sendmail.\r\n\r\n@adamw and you don't read the types :p?","created_at":"2015-12-01T08:58:45Z","updated_at":"2015-12-01T08:58:45Z","html_url":"https://github.com/softwaremill/scala-common/pull/2#discussion_r46253144","pull_request_url":"https://api.github.com/repos/softwaremill/scala-common/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/softwaremill/scala-common/pulls/comments/46253144"},"html":{"href":"https://github.com/softwaremill/scala-common/pull/2#discussion_r46253144"},"pull_request":{"href":"https://api.github.com/repos/softwaremill/scala-common/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/softwaremill/scala-common/pulls/2","id":52042733,"html_url":"https://github.com/softwaremill/scala-common/pull/2","diff_url":"https://github.com/softwaremill/scala-common/pull/2.diff","patch_url":"https://github.com/softwaremill/scala-common/pull/2.patch","issue_url":"https://api.github.com/repos/softwaremill/scala-common/issues/2","number":2,"state":"open","locked":false,"title":"FutureTry and crossCompile","user":{"login":"mikolak-net","id":1729900,"avatar_url":"https://avatars.githubusercontent.com/u/1729900?v=3","gravatar_id":"","url":"https://api.github.com/users/mikolak-net","html_url":"https://github.com/mikolak-net","followers_url":"https://api.github.com/users/mikolak-net/followers","following_url":"https://api.github.com/users/mikolak-net/following{/other_user}","gists_url":"https://api.github.com/users/mikolak-net/gists{/gist_id}","starred_url":"https://api.github.com/users/mikolak-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikolak-net/subscriptions","organizations_url":"https://api.github.com/users/mikolak-net/orgs","repos_url":"https://api.github.com/users/mikolak-net/repos","events_url":"https://api.github.com/users/mikolak-net/events{/privacy}","received_events_url":"https://api.github.com/users/mikolak-net/received_events","type":"User","site_admin":false},"body":"This PR adds some Future-Try-related methods and an ability to cross-compile to 2.10 (as well as 2.11).","created_at":"2015-11-28T15:42:12Z","updated_at":"2015-12-01T08:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"272908447240c03629de64e188d53e90f566ed41","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/softwaremill/scala-common/pulls/2/commits","review_comments_url":"https://api.github.com/repos/softwaremill/scala-common/pulls/2/comments","review_comment_url":"https://api.github.com/repos/softwaremill/scala-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/softwaremill/scala-common/issues/2/comments","statuses_url":"https://api.github.com/repos/softwaremill/scala-common/statuses/70aaebb1e16b25ca823d971b6f5c90662684e900","head":{"label":"mikolak-net:master","ref":"master","sha":"70aaebb1e16b25ca823d971b6f5c90662684e900","user":{"login":"mikolak-net","id":1729900,"avatar_url":"https://avatars.githubusercontent.com/u/1729900?v=3","gravatar_id":"","url":"https://api.github.com/users/mikolak-net","html_url":"https://github.com/mikolak-net","followers_url":"https://api.github.com/users/mikolak-net/followers","following_url":"https://api.github.com/users/mikolak-net/following{/other_user}","gists_url":"https://api.github.com/users/mikolak-net/gists{/gist_id}","starred_url":"https://api.github.com/users/mikolak-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikolak-net/subscriptions","organizations_url":"https://api.github.com/users/mikolak-net/orgs","repos_url":"https://api.github.com/users/mikolak-net/repos","events_url":"https://api.github.com/users/mikolak-net/events{/privacy}","received_events_url":"https://api.github.com/users/mikolak-net/received_events","type":"User","site_admin":false},"repo":{"id":47020950,"name":"scala-common","full_name":"mikolak-net/scala-common","owner":{"login":"mikolak-net","id":1729900,"avatar_url":"https://avatars.githubusercontent.com/u/1729900?v=3","gravatar_id":"","url":"https://api.github.com/users/mikolak-net","html_url":"https://github.com/mikolak-net","followers_url":"https://api.github.com/users/mikolak-net/followers","following_url":"https://api.github.com/users/mikolak-net/following{/other_user}","gists_url":"https://api.github.com/users/mikolak-net/gists{/gist_id}","starred_url":"https://api.github.com/users/mikolak-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikolak-net/subscriptions","organizations_url":"https://api.github.com/users/mikolak-net/orgs","repos_url":"https://api.github.com/users/mikolak-net/repos","events_url":"https://api.github.com/users/mikolak-net/events{/privacy}","received_events_url":"https://api.github.com/users/mikolak-net/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikolak-net/scala-common","description":"Tiny independent libraries with a single purpose, often a single class","fork":true,"url":"https://api.github.com/repos/mikolak-net/scala-common","forks_url":"https://api.github.com/repos/mikolak-net/scala-common/forks","keys_url":"https://api.github.com/repos/mikolak-net/scala-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikolak-net/scala-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikolak-net/scala-common/teams","hooks_url":"https://api.github.com/repos/mikolak-net/scala-common/hooks","issue_events_url":"https://api.github.com/repos/mikolak-net/scala-common/issues/events{/number}","events_url":"https://api.github.com/repos/mikolak-net/scala-common/events","assignees_url":"https://api.github.com/repos/mikolak-net/scala-common/assignees{/user}","branches_url":"https://api.github.com/repos/mikolak-net/scala-common/branches{/branch}","tags_url":"https://api.github.com/repos/mikolak-net/scala-common/tags","blobs_url":"https://api.github.com/repos/mikolak-net/scala-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikolak-net/scala-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikolak-net/scala-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikolak-net/scala-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikolak-net/scala-common/statuses/{sha}","languages_url":"https://api.github.com/repos/mikolak-net/scala-common/languages","stargazers_url":"https://api.github.com/repos/mikolak-net/scala-common/stargazers","contributors_url":"https://api.github.com/repos/mikolak-net/scala-common/contributors","subscribers_url":"https://api.github.com/repos/mikolak-net/scala-common/subscribers","subscription_url":"https://api.github.com/repos/mikolak-net/scala-common/subscription","commits_url":"https://api.github.com/repos/mikolak-net/scala-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikolak-net/scala-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikolak-net/scala-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikolak-net/scala-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikolak-net/scala-common/contents/{+path}","compare_url":"https://api.github.com/repos/mikolak-net/scala-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikolak-net/scala-common/merges","archive_url":"https://api.github.com/repos/mikolak-net/scala-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikolak-net/scala-common/downloads","issues_url":"https://api.github.com/repos/mikolak-net/scala-common/issues{/number}","pulls_url":"https://api.github.com/repos/mikolak-net/scala-common/pulls{/number}","milestones_url":"https://api.github.com/repos/mikolak-net/scala-common/milestones{/number}","notifications_url":"https://api.github.com/repos/mikolak-net/scala-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikolak-net/scala-common/labels{/name}","releases_url":"https://api.github.com/repos/mikolak-net/scala-common/releases{/id}","created_at":"2015-11-28T11:33:29Z","updated_at":"2015-11-28T11:33:30Z","pushed_at":"2015-11-30T23:18:36Z","git_url":"git://github.com/mikolak-net/scala-common.git","ssh_url":"git@github.com:mikolak-net/scala-common.git","clone_url":"https://github.com/mikolak-net/scala-common.git","svn_url":"https://github.com/mikolak-net/scala-common","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"softwaremill:master","ref":"master","sha":"b2654e77501dac4081bbb2731aa4f33634c0215a","user":{"login":"softwaremill","id":322765,"avatar_url":"https://avatars.githubusercontent.com/u/322765?v=3","gravatar_id":"","url":"https://api.github.com/users/softwaremill","html_url":"https://github.com/softwaremill","followers_url":"https://api.github.com/users/softwaremill/followers","following_url":"https://api.github.com/users/softwaremill/following{/other_user}","gists_url":"https://api.github.com/users/softwaremill/gists{/gist_id}","starred_url":"https://api.github.com/users/softwaremill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwaremill/subscriptions","organizations_url":"https://api.github.com/users/softwaremill/orgs","repos_url":"https://api.github.com/users/softwaremill/repos","events_url":"https://api.github.com/users/softwaremill/events{/privacy}","received_events_url":"https://api.github.com/users/softwaremill/received_events","type":"Organization","site_admin":false},"repo":{"id":46819610,"name":"scala-common","full_name":"softwaremill/scala-common","owner":{"login":"softwaremill","id":322765,"avatar_url":"https://avatars.githubusercontent.com/u/322765?v=3","gravatar_id":"","url":"https://api.github.com/users/softwaremill","html_url":"https://github.com/softwaremill","followers_url":"https://api.github.com/users/softwaremill/followers","following_url":"https://api.github.com/users/softwaremill/following{/other_user}","gists_url":"https://api.github.com/users/softwaremill/gists{/gist_id}","starred_url":"https://api.github.com/users/softwaremill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwaremill/subscriptions","organizations_url":"https://api.github.com/users/softwaremill/orgs","repos_url":"https://api.github.com/users/softwaremill/repos","events_url":"https://api.github.com/users/softwaremill/events{/privacy}","received_events_url":"https://api.github.com/users/softwaremill/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/softwaremill/scala-common","description":"Tiny independent libraries with a single purpose, often a single class","fork":false,"url":"https://api.github.com/repos/softwaremill/scala-common","forks_url":"https://api.github.com/repos/softwaremill/scala-common/forks","keys_url":"https://api.github.com/repos/softwaremill/scala-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/softwaremill/scala-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/softwaremill/scala-common/teams","hooks_url":"https://api.github.com/repos/softwaremill/scala-common/hooks","issue_events_url":"https://api.github.com/repos/softwaremill/scala-common/issues/events{/number}","events_url":"https://api.github.com/repos/softwaremill/scala-common/events","assignees_url":"https://api.github.com/repos/softwaremill/scala-common/assignees{/user}","branches_url":"https://api.github.com/repos/softwaremill/scala-common/branches{/branch}","tags_url":"https://api.github.com/repos/softwaremill/scala-common/tags","blobs_url":"https://api.github.com/repos/softwaremill/scala-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/softwaremill/scala-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/softwaremill/scala-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/softwaremill/scala-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/softwaremill/scala-common/statuses/{sha}","languages_url":"https://api.github.com/repos/softwaremill/scala-common/languages","stargazers_url":"https://api.github.com/repos/softwaremill/scala-common/stargazers","contributors_url":"https://api.github.com/repos/softwaremill/scala-common/contributors","subscribers_url":"https://api.github.com/repos/softwaremill/scala-common/subscribers","subscription_url":"https://api.github.com/repos/softwaremill/scala-common/subscription","commits_url":"https://api.github.com/repos/softwaremill/scala-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/softwaremill/scala-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/softwaremill/scala-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/softwaremill/scala-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/softwaremill/scala-common/contents/{+path}","compare_url":"https://api.github.com/repos/softwaremill/scala-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/softwaremill/scala-common/merges","archive_url":"https://api.github.com/repos/softwaremill/scala-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/softwaremill/scala-common/downloads","issues_url":"https://api.github.com/repos/softwaremill/scala-common/issues{/number}","pulls_url":"https://api.github.com/repos/softwaremill/scala-common/pulls{/number}","milestones_url":"https://api.github.com/repos/softwaremill/scala-common/milestones{/number}","notifications_url":"https://api.github.com/repos/softwaremill/scala-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/softwaremill/scala-common/labels{/name}","releases_url":"https://api.github.com/repos/softwaremill/scala-common/releases{/id}","created_at":"2015-11-24T21:26:53Z","updated_at":"2015-11-25T15:51:08Z","pushed_at":"2015-11-30T23:18:36Z","git_url":"git://github.com/softwaremill/scala-common.git","ssh_url":"git@github.com:softwaremill/scala-common.git","clone_url":"https://github.com/softwaremill/scala-common.git","svn_url":"https://github.com/softwaremill/scala-common","homepage":null,"size":12,"stargazers_count":3,"watchers_count":3,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/softwaremill/scala-common/pulls/2"},"html":{"href":"https://github.com/softwaremill/scala-common/pull/2"},"issue":{"href":"https://api.github.com/repos/softwaremill/scala-common/issues/2"},"comments":{"href":"https://api.github.com/repos/softwaremill/scala-common/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/softwaremill/scala-common/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/softwaremill/scala-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/softwaremill/scala-common/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/softwaremill/scala-common/statuses/70aaebb1e16b25ca823d971b6f5c90662684e900"}}}}