{"action":"created","issue":{"url":"https://api.github.com/repos/ponylang/rfcs/issues/4","repository_url":"https://api.github.com/repos/ponylang/rfcs","labels_url":"https://api.github.com/repos/ponylang/rfcs/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ponylang/rfcs/issues/4/comments","events_url":"https://api.github.com/repos/ponylang/rfcs/issues/4/events","html_url":"https://github.com/ponylang/rfcs/pull/4","id":157558902,"number":4,"title":"Sugar for method chaining","user":{"login":"malthe","id":26405,"avatar_url":"https://avatars.githubusercontent.com/u/26405?v=3","gravatar_id":"","url":"https://api.github.com/users/malthe","html_url":"https://github.com/malthe","followers_url":"https://api.github.com/users/malthe/followers","following_url":"https://api.github.com/users/malthe/following{/other_user}","gists_url":"https://api.github.com/users/malthe/gists{/gist_id}","starred_url":"https://api.github.com/users/malthe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malthe/subscriptions","organizations_url":"https://api.github.com/users/malthe/orgs","repos_url":"https://api.github.com/users/malthe/repos","events_url":"https://api.github.com/users/malthe/events{/privacy}","received_events_url":"https://api.github.com/users/malthe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-05-30T21:36:14Z","updated_at":"2016-07-11T14:39:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ponylang/rfcs/pulls/4","html_url":"https://github.com/ponylang/rfcs/pull/4","diff_url":"https://github.com/ponylang/rfcs/pull/4.diff","patch_url":"https://github.com/ponylang/rfcs/pull/4.patch"},"body":"Lots of APIs support method chaining, but in Pony (and most languages) this needs explicit support in the class implementation. This is a proposal to introduce a syntax sugar for invoking a method with no return value and have the object returned."},"comment":{"url":"https://api.github.com/repos/ponylang/rfcs/issues/comments/231754215","html_url":"https://github.com/ponylang/rfcs/pull/4#issuecomment-231754215","issue_url":"https://api.github.com/repos/ponylang/rfcs/issues/4","id":231754215,"user":{"login":"jemc","id":4623870,"avatar_url":"https://avatars.githubusercontent.com/u/4623870?v=3","gravatar_id":"","url":"https://api.github.com/users/jemc","html_url":"https://github.com/jemc","followers_url":"https://api.github.com/users/jemc/followers","following_url":"https://api.github.com/users/jemc/following{/other_user}","gists_url":"https://api.github.com/users/jemc/gists{/gist_id}","starred_url":"https://api.github.com/users/jemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemc/subscriptions","organizations_url":"https://api.github.com/users/jemc/orgs","repos_url":"https://api.github.com/users/jemc/repos","events_url":"https://api.github.com/users/jemc/events{/privacy}","received_events_url":"https://api.github.com/users/jemc/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T14:39:08Z","updated_at":"2016-07-11T14:39:08Z","body":"@Perelandric - The way I read the description, \"invoking a method with no return value and have the object returned\", I just read it to mean that we would be ignoring the return value (but I can see why this language is confusing - it could probably be improved).  There is other language in the RFC that implies that it applies whenever you don't care about the return value.\r\n\r\nThanks for the link to the Dart `..` cascade notation - it's good to know that other languages have this concept, and see how they represent and teach it.  It also seems like `..` would be less likely to be an ambiguity problem than using a colon."}}
{"actor":{"display_login":"jemc"}}