{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/3943","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3943/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3943/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3943/events","html_url":"https://github.com/elixir-lang/elixir/pull/3943","id":115617544,"number":3943,"title":"[WIP] Introduce with","user":{"login":"lexmag","id":248290,"avatar_url":"https://avatars.githubusercontent.com/u/248290?v=3","gravatar_id":"","url":"https://api.github.com/users/lexmag","html_url":"https://github.com/lexmag","followers_url":"https://api.github.com/users/lexmag/followers","following_url":"https://api.github.com/users/lexmag/following{/other_user}","gists_url":"https://api.github.com/users/lexmag/gists{/gist_id}","starred_url":"https://api.github.com/users/lexmag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexmag/subscriptions","organizations_url":"https://api.github.com/users/lexmag/orgs","repos_url":"https://api.github.com/users/lexmag/repos","events_url":"https://api.github.com/users/lexmag/events{/privacy}","received_events_url":"https://api.github.com/users/lexmag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-07T00:25:15Z","updated_at":"2015-11-07T16:14:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3943","html_url":"https://github.com/elixir-lang/elixir/pull/3943","diff_url":"https://github.com/elixir-lang/elixir/pull/3943.diff","patch_url":"https://github.com/elixir-lang/elixir/pull/3943.patch"},"body":"Closes #3902."},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/154719293","html_url":"https://github.com/elixir-lang/elixir/pull/3943#issuecomment-154719293","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3943","id":154719293,"user":{"login":"lexmag","id":248290,"avatar_url":"https://avatars.githubusercontent.com/u/248290?v=3","gravatar_id":"","url":"https://api.github.com/users/lexmag","html_url":"https://github.com/lexmag","followers_url":"https://api.github.com/users/lexmag/followers","following_url":"https://api.github.com/users/lexmag/following{/other_user}","gists_url":"https://api.github.com/users/lexmag/gists{/gist_id}","starred_url":"https://api.github.com/users/lexmag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexmag/subscriptions","organizations_url":"https://api.github.com/users/lexmag/orgs","repos_url":"https://api.github.com/users/lexmag/repos","events_url":"https://api.github.com/users/lexmag/events{/privacy}","received_events_url":"https://api.github.com/users/lexmag/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T16:14:32Z","updated_at":"2015-11-07T16:14:32Z","body":"@fishcakez I think this part where `with` should differ from `for`, since there are no generator and generated values which user may want to filter out; in `with` case any non-`<-` clause is just an expression:\r\n```elixir\r\nwith {key, val} <- {:ok, 42}, key == :ok, do: val\r\n```\r\ntranslates to\r\n```elixir\r\ncase {:ok, 42} do\r\n  {key, val} ->\r\n    key == :ok\r\n    val\r\n  other -> other\r\nend\r\n```\r\n"}}