{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/2442","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2442/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2442/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2442/events","html_url":"https://github.com/rust-lang/rfcs/pull/2442","id":323101149,"number":2442,"title":"Simple postfix macros","user":{"login":"joshtriplett","id":162737,"avatar_url":"https://avatars2.githubusercontent.com/u/162737?v=4","gravatar_id":"","url":"https://api.github.com/users/joshtriplett","html_url":"https://github.com/joshtriplett","followers_url":"https://api.github.com/users/joshtriplett/followers","following_url":"https://api.github.com/users/joshtriplett/following{/other_user}","gists_url":"https://api.github.com/users/joshtriplett/gists{/gist_id}","starred_url":"https://api.github.com/users/joshtriplett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshtriplett/subscriptions","organizations_url":"https://api.github.com/users/joshtriplett/orgs","repos_url":"https://api.github.com/users/joshtriplett/repos","events_url":"https://api.github.com/users/joshtriplett/events{/privacy}","received_events_url":"https://api.github.com/users/joshtriplett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-15T07:41:09Z","updated_at":"2018-05-15T10:06:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/2442","html_url":"https://github.com/rust-lang/rfcs/pull/2442","diff_url":"https://github.com/rust-lang/rfcs/pull/2442.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/2442.patch"},"body":"This RFC introduces simple postfix macros, of the form `expr.ident!()`,\r\nto make macro invocations more readable and maintainable in\r\nleft-to-right method chains.\r\n\r\nIn particular, this proposal will make it possible to write chains like\r\n`future().await!().further_computation().await!()`, potentially with `?`\r\ninterspersed as well; these read conveniently from left to right rather\r\nthan alternating between the right and left sides of the expression.\r\n\r\nI believe this proposal will allow more in-depth experimentation in the\r\ncrate ecosystem with features that would otherwise require compiler\r\nand language changes, such as introducing new postfix control-flow\r\nmechanisms analogous to `?`.\r\n\r\n[Rendered](https://github.com/joshtriplett/rfcs/blob/simple-postfix-macros/text/0000-simple-postfix-macros.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/389114385","html_url":"https://github.com/rust-lang/rfcs/pull/2442#issuecomment-389114385","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2442","id":389114385,"user":{"login":"petrochenkov","id":5751617,"avatar_url":"https://avatars2.githubusercontent.com/u/5751617?v=4","gravatar_id":"","url":"https://api.github.com/users/petrochenkov","html_url":"https://github.com/petrochenkov","followers_url":"https://api.github.com/users/petrochenkov/followers","following_url":"https://api.github.com/users/petrochenkov/following{/other_user}","gists_url":"https://api.github.com/users/petrochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/petrochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrochenkov/subscriptions","organizations_url":"https://api.github.com/users/petrochenkov/orgs","repos_url":"https://api.github.com/users/petrochenkov/repos","events_url":"https://api.github.com/users/petrochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/petrochenkov/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T10:06:36Z","updated_at":"2018-05-15T10:06:36Z","author_association":"CONTRIBUTOR","body":"cc @nrc who hated the idea"}}
{"actor":{"display_login":"petrochenkov"}}