{"action":"closed","issue":{"url":"https://api.github.com/repos/fluture-js/Fluture/issues/92","repository_url":"https://api.github.com/repos/fluture-js/Fluture","labels_url":"https://api.github.com/repos/fluture-js/Fluture/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/fluture-js/Fluture/issues/92/comments","events_url":"https://api.github.com/repos/fluture-js/Fluture/issues/92/events","html_url":"https://github.com/fluture-js/Fluture/issues/92","id":222707824,"number":92,"title":"Rename fromPromise to encaseP","user":{"login":"Avaq","id":1217745,"avatar_url":"https://avatars3.githubusercontent.com/u/1217745?v=3","gravatar_id":"","url":"https://api.github.com/users/Avaq","html_url":"https://github.com/Avaq","followers_url":"https://api.github.com/users/Avaq/followers","following_url":"https://api.github.com/users/Avaq/following{/other_user}","gists_url":"https://api.github.com/users/Avaq/gists{/gist_id}","starred_url":"https://api.github.com/users/Avaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avaq/subscriptions","organizations_url":"https://api.github.com/users/Avaq/orgs","repos_url":"https://api.github.com/users/Avaq/repos","events_url":"https://api.github.com/users/Avaq/events{/privacy}","received_events_url":"https://api.github.com/users/Avaq/received_events","type":"User","site_admin":false},"labels":[{"id":599276119,"url":"https://api.github.com/repos/fluture-js/Fluture/labels/fixed%20in%206.0","name":"fixed in 6.0","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"Avaq","id":1217745,"avatar_url":"https://avatars3.githubusercontent.com/u/1217745?v=3","gravatar_id":"","url":"https://api.github.com/users/Avaq","html_url":"https://github.com/Avaq","followers_url":"https://api.github.com/users/Avaq/followers","following_url":"https://api.github.com/users/Avaq/following{/other_user}","gists_url":"https://api.github.com/users/Avaq/gists{/gist_id}","starred_url":"https://api.github.com/users/Avaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avaq/subscriptions","organizations_url":"https://api.github.com/users/Avaq/orgs","repos_url":"https://api.github.com/users/Avaq/repos","events_url":"https://api.github.com/users/Avaq/events{/privacy}","received_events_url":"https://api.github.com/users/Avaq/received_events","type":"User","site_admin":false},"assignees":[{"login":"Avaq","id":1217745,"avatar_url":"https://avatars3.githubusercontent.com/u/1217745?v=3","gravatar_id":"","url":"https://api.github.com/users/Avaq","html_url":"https://github.com/Avaq","followers_url":"https://api.github.com/users/Avaq/followers","following_url":"https://api.github.com/users/Avaq/following{/other_user}","gists_url":"https://api.github.com/users/Avaq/gists{/gist_id}","starred_url":"https://api.github.com/users/Avaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avaq/subscriptions","organizations_url":"https://api.github.com/users/Avaq/orgs","repos_url":"https://api.github.com/users/Avaq/repos","events_url":"https://api.github.com/users/Avaq/events{/privacy}","received_events_url":"https://api.github.com/users/Avaq/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/fluture-js/Fluture/milestones/5","html_url":"https://github.com/fluture-js/Fluture/milestone/5","labels_url":"https://api.github.com/repos/fluture-js/Fluture/milestones/5/labels","id":2466010,"number":5,"title":"6.0.0","description":"The 6.0.0 release","creator":{"login":"Avaq","id":1217745,"avatar_url":"https://avatars3.githubusercontent.com/u/1217745?v=3","gravatar_id":"","url":"https://api.github.com/users/Avaq","html_url":"https://github.com/Avaq","followers_url":"https://api.github.com/users/Avaq/followers","following_url":"https://api.github.com/users/Avaq/following{/other_user}","gists_url":"https://api.github.com/users/Avaq/gists{/gist_id}","starred_url":"https://api.github.com/users/Avaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avaq/subscriptions","organizations_url":"https://api.github.com/users/Avaq/orgs","repos_url":"https://api.github.com/users/Avaq/repos","events_url":"https://api.github.com/users/Avaq/events{/privacy}","received_events_url":"https://api.github.com/users/Avaq/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"open","created_at":"2017-04-19T07:49:52Z","updated_at":"2017-05-13T12:38:35Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-04-19T11:34:15Z","updated_at":"2017-05-13T12:38:35Z","closed_at":"2017-05-13T12:38:35Z","body":"[This question](https://gitter.im/fluture-js/Fluture?at=58f746b23e27cac331a2352c) illustrates confusion about the `fromPromise` function which I think was, in part, caused by the naming of the function.\r\n\r\nFrom Promise suggests that the function takes in a Promise and returns a Future. In fact it encases a function which returns a Promise to return a Future instead, very similar to the `encase` family of functions.\r\n\r\nTo make the similarities between the two families of functions more apparent, I'm thinking to rename `fromPromise` to `encaseP`. This would also naturally provide a name for `encaseP(f, undefined)`: `tryP(f)`."}}
{"actor":{"display_login":"Avaq"}}