{"action":"created","issue":{"url":"https://api.github.com/repos/ramda/ramda-fantasy/issues/55","labels_url":"https://api.github.com/repos/ramda/ramda-fantasy/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/ramda/ramda-fantasy/issues/55/comments","events_url":"https://api.github.com/repos/ramda/ramda-fantasy/issues/55/events","html_url":"https://github.com/ramda/ramda-fantasy/pull/55","id":90889194,"number":55,"title":"Adds Reader Transformer","user":{"login":"scott-christopher","id":8951601,"avatar_url":"https://avatars.githubusercontent.com/u/8951601?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-christopher","html_url":"https://github.com/scott-christopher","followers_url":"https://api.github.com/users/scott-christopher/followers","following_url":"https://api.github.com/users/scott-christopher/following{/other_user}","gists_url":"https://api.github.com/users/scott-christopher/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-christopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-christopher/subscriptions","organizations_url":"https://api.github.com/users/scott-christopher/orgs","repos_url":"https://api.github.com/users/scott-christopher/repos","events_url":"https://api.github.com/users/scott-christopher/events{/privacy}","received_events_url":"https://api.github.com/users/scott-christopher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-25T07:54:35Z","updated_at":"2015-08-12T07:33:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda-fantasy/pulls/55","html_url":"https://github.com/ramda/ramda-fantasy/pull/55","diff_url":"https://github.com/ramda/ramda-fantasy/pull/55.diff","patch_url":"https://github.com/ramda/ramda-fantasy/pull/55.patch"},"body":"Not sure if there is interest in going down the transformer path or not, but I ended up with this after wanting a Reader/Future combo.\r\n\r\nAn example:\r\n```js\r\nvar Reader = require('./src/Reader'),\r\n    Future = require('./src/Future'),\r\n    ReaderTFuture = Reader.T(Future);\r\n\r\nvar log = console.log.bind(console);\r\n\r\nvar delay = d => Future((_, done) => setTimeout(done, d));\r\n\r\nvar delayedText = ReaderTFuture.ask.chain(env => \r\n  ReaderTFuture.lift(delay(env.delay).map(() => env.text))\r\n);\r\n\r\ndelayedText.run({ delay: 1000, text: 'Hello!' }).fork(log, log);\r\n```\r\n\r\nIf desirable, we could also implement `Reader` via `Reader.T(Identity)`.\r\n\r\nI'm not sure how useful this is in the JS space, so I would appreciate comments by anyone who has experience with using `ReaderT`s in general."},"comment":{"url":"https://api.github.com/repos/ramda/ramda-fantasy/issues/comments/130201378","html_url":"https://github.com/ramda/ramda-fantasy/pull/55#issuecomment-130201378","issue_url":"https://api.github.com/repos/ramda/ramda-fantasy/issues/55","id":130201378,"user":{"login":"TheLudd","id":557295,"avatar_url":"https://avatars.githubusercontent.com/u/557295?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLudd","html_url":"https://github.com/TheLudd","followers_url":"https://api.github.com/users/TheLudd/followers","following_url":"https://api.github.com/users/TheLudd/following{/other_user}","gists_url":"https://api.github.com/users/TheLudd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLudd/subscriptions","organizations_url":"https://api.github.com/users/TheLudd/orgs","repos_url":"https://api.github.com/users/TheLudd/repos","events_url":"https://api.github.com/users/TheLudd/events{/privacy}","received_events_url":"https://api.github.com/users/TheLudd/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T07:33:21Z","updated_at":"2015-08-12T07:33:21Z","body":"@scott-christopher \r\nCan you rebase and have a look at the remaining comments? After that I am all for a merge"}}