{"action":"created","issue":{"url":"https://api.github.com/repos/gcanti/fp-ts/issues/264","repository_url":"https://api.github.com/repos/gcanti/fp-ts","labels_url":"https://api.github.com/repos/gcanti/fp-ts/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/gcanti/fp-ts/issues/264/comments","events_url":"https://api.github.com/repos/gcanti/fp-ts/issues/264/events","html_url":"https://github.com/gcanti/fp-ts/issues/264","id":270603462,"number":264,"title":"Suggestion: Include RemoteData","user":{"login":"raveclassic","id":1743568,"avatar_url":"https://avatars2.githubusercontent.com/u/1743568?v=4","gravatar_id":"","url":"https://api.github.com/users/raveclassic","html_url":"https://github.com/raveclassic","followers_url":"https://api.github.com/users/raveclassic/followers","following_url":"https://api.github.com/users/raveclassic/following{/other_user}","gists_url":"https://api.github.com/users/raveclassic/gists{/gist_id}","starred_url":"https://api.github.com/users/raveclassic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raveclassic/subscriptions","organizations_url":"https://api.github.com/users/raveclassic/orgs","repos_url":"https://api.github.com/users/raveclassic/repos","events_url":"https://api.github.com/users/raveclassic/events{/privacy}","received_events_url":"https://api.github.com/users/raveclassic/received_events","type":"User","site_admin":false},"labels":[{"id":744296766,"url":"https://api.github.com/repos/gcanti/fp-ts/labels/out%20of%20scope","name":"out of scope","color":"7431a0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-02T10:31:13Z","updated_at":"2018-02-07T21:26:03Z","closed_at":"2017-11-08T12:40:45Z","author_association":"COLLABORATOR","body":"@gcanti \r\n\r\nIn one of our projects we use `RemoteData` from https://medium.com/@gcanti/slaying-a-ui-antipattern-with-flow-5eed0cfb627b.\r\n\r\nIt has four states (Initial, Pending, Failure and Success) and implements Monad, Foldable, Alt, Extend and Traversable (this list may be extented though).\r\n\r\nRecently another our project required the same type and the most obvious way would be to move the type to a shared library but then it would require fp-ts as a dependency as well which I'd like to avoid.\r\n\r\nTherefore I suggest including RemoteData into the core fp-ts. If you agree I can add it here.\r\n\r\nThough, I have some doubts wether fp-ts is a right place. What do you think?"},"comment":{"url":"https://api.github.com/repos/gcanti/fp-ts/issues/comments/363915995","html_url":"https://github.com/gcanti/fp-ts/issues/264#issuecomment-363915995","issue_url":"https://api.github.com/repos/gcanti/fp-ts/issues/264","id":363915995,"user":{"login":"wmaurer","id":2899448,"avatar_url":"https://avatars2.githubusercontent.com/u/2899448?v=4","gravatar_id":"","url":"https://api.github.com/users/wmaurer","html_url":"https://github.com/wmaurer","followers_url":"https://api.github.com/users/wmaurer/followers","following_url":"https://api.github.com/users/wmaurer/following{/other_user}","gists_url":"https://api.github.com/users/wmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/wmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmaurer/subscriptions","organizations_url":"https://api.github.com/users/wmaurer/orgs","repos_url":"https://api.github.com/users/wmaurer/repos","events_url":"https://api.github.com/users/wmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/wmaurer/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T21:26:03Z","updated_at":"2018-02-07T21:26:03Z","author_association":"NONE","body":"Based on various `RemoteData` articles, I have starting applying the concept to one of my new projects - extremely simple and not at all FP - just a sum type and a fold function.\r\n\r\nNow I would like to take the concept a step further, especially after reading the following article:\r\nhttp://fictional.logdown.com/posts/5765399-your-data-is-loading\r\nInteresting to me is the combining of multiple remotes (Applicative)\r\n\r\nAs a very beginner `fp-ts` user (only using `Option`, `Either`, `array` and some `io-ts`), building a proper RemoteData is rather an intimidating task ...\r\n@raveclassic is there any possibility of you showing your `RemoteData` type? I'd really like to look, learn and adapt it, and even collaborate on it.\r\n\r\nCheers\r\n-Wayne\r\n"}}
{"actor":{"display_login":"wmaurer"}}