{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/Runes/issues/48","labels_url":"https://api.github.com/repos/thoughtbot/Runes/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/issues/48/comments","events_url":"https://api.github.com/repos/thoughtbot/Runes/issues/48/events","html_url":"https://github.com/thoughtbot/Runes/pull/48","id":104219050,"number":48,"title":"Flatmap may be also known as 'bind'.","user":{"login":"DarthMike","id":1030987,"avatar_url":"https://avatars.githubusercontent.com/u/1030987?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthMike","html_url":"https://github.com/DarthMike","followers_url":"https://api.github.com/users/DarthMike/followers","following_url":"https://api.github.com/users/DarthMike/following{/other_user}","gists_url":"https://api.github.com/users/DarthMike/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthMike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthMike/subscriptions","organizations_url":"https://api.github.com/users/DarthMike/orgs","repos_url":"https://api.github.com/users/DarthMike/repos","events_url":"https://api.github.com/users/DarthMike/events{/privacy}","received_events_url":"https://api.github.com/users/DarthMike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T08:59:12Z","updated_at":"2015-09-01T23:47:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/Runes/pulls/48","html_url":"https://github.com/thoughtbot/Runes/pull/48","diff_url":"https://github.com/thoughtbot/Runes/pull/48.diff","patch_url":"https://github.com/thoughtbot/Runes/pull/48.patch"},"body":"Hi!\r\n\r\nThanks for the library, it is really useful.\r\n\r\nI thought the docs could mention flatmap is also also know by the name 'bind' (or at least that is my current understanding, different name in different contexts).\r\n\r\nThis would help people not used to the terminology to relate terms when trying to understand the operators."},"comment":{"url":"https://api.github.com/repos/thoughtbot/Runes/issues/comments/136894130","html_url":"https://github.com/thoughtbot/Runes/pull/48#issuecomment-136894130","issue_url":"https://api.github.com/repos/thoughtbot/Runes/issues/48","id":136894130,"user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T23:47:38Z","updated_at":"2015-09-01T23:47:38Z","body":"You're right that this function is also called `bind`, but it's not really contextual. It's actually just named different things in different languages. In Haskell, it's `bind`, but in Swift, it's `flatMap`. I don't think we should add confusion by giving it another name outright, but it _might_ be cool to add a note somewhere that it's the same thing as `bind` in haskell.\r\n\r\nI don't know that we should do that in the README though. Maybe when I get around to writing more in depth documentation (in part to help to solve #26)."}}