{"action":"created","issue":{"url":"https://api.github.com/repos/cvogt/flow-comprehensions/issues/6","labels_url":"https://api.github.com/repos/cvogt/flow-comprehensions/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/cvogt/flow-comprehensions/issues/6/comments","events_url":"https://api.github.com/repos/cvogt/flow-comprehensions/issues/6/events","html_url":"https://github.com/cvogt/flow-comprehensions/issues/6","id":112897680,"number":6,"title":"rename sequence","user":{"login":"cvogt","id":274947,"avatar_url":"https://avatars.githubusercontent.com/u/274947?v=3","gravatar_id":"","url":"https://api.github.com/users/cvogt","html_url":"https://github.com/cvogt","followers_url":"https://api.github.com/users/cvogt/followers","following_url":"https://api.github.com/users/cvogt/following{/other_user}","gists_url":"https://api.github.com/users/cvogt/gists{/gist_id}","starred_url":"https://api.github.com/users/cvogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvogt/subscriptions","organizations_url":"https://api.github.com/users/cvogt/orgs","repos_url":"https://api.github.com/users/cvogt/repos","events_url":"https://api.github.com/users/cvogt/events{/privacy}","received_events_url":"https://api.github.com/users/cvogt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T21:42:04Z","updated_at":"2015-10-25T15:00:28Z","closed_at":null,"body":"the common Monad.sequence has well defined semantics among others not being sequential. The comprehension currently called `sequence` in here is sequential, so we should probably rename it. How about `comprehension` or `for2`or `forseq` or `flat` (flat like flatMap), e.g. \r\n\r\n```scala\r\nflat[Future]{\r\n  ~someFuture + ~otherFuture\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/cvogt/flow-comprehensions/issues/comments/150932196","html_url":"https://github.com/cvogt/flow-comprehensions/issues/6#issuecomment-150932196","issue_url":"https://api.github.com/repos/cvogt/flow-comprehensions/issues/6","id":150932196,"user":{"login":"cvogt","id":274947,"avatar_url":"https://avatars.githubusercontent.com/u/274947?v=3","gravatar_id":"","url":"https://api.github.com/users/cvogt","html_url":"https://github.com/cvogt","followers_url":"https://api.github.com/users/cvogt/followers","following_url":"https://api.github.com/users/cvogt/following{/other_user}","gists_url":"https://api.github.com/users/cvogt/gists{/gist_id}","starred_url":"https://api.github.com/users/cvogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvogt/subscriptions","organizations_url":"https://api.github.com/users/cvogt/orgs","repos_url":"https://api.github.com/users/cvogt/repos","events_url":"https://api.github.com/users/cvogt/events{/privacy}","received_events_url":"https://api.github.com/users/cvogt/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T15:00:28Z","updated_at":"2015-10-25T15:00:28Z","body":"More proposals:\r\n```\r\nimplicit class FutureComprehension(f: Future.type){\r\n  def flat = sequence[Future]\r\n  // or\r\n  def comprehension = sequence[Future]\r\n}\r\n\r\nFuture.flat{\r\n  ~someFuture + ~otherFuture\r\n}\r\n\r\n//or\r\n\r\nFuture.comprehension{\r\n  ~someFuture + ~otherFuture\r\n}\r\n```\r\n"}}