{"action":"opened","issue":{"url":"https://api.github.com/repos/masak/007/issues/233","repository_url":"https://api.github.com/repos/masak/007","labels_url":"https://api.github.com/repos/masak/007/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/masak/007/issues/233/comments","events_url":"https://api.github.com/repos/masak/007/issues/233/events","html_url":"https://github.com/masak/007/issues/233","id":233102287,"number":233,"title":"Make `return` keyword optional for last statement in function","user":{"login":"masak","id":20627,"avatar_url":"https://avatars2.githubusercontent.com/u/20627?v=3","gravatar_id":"","url":"https://api.github.com/users/masak","html_url":"https://github.com/masak","followers_url":"https://api.github.com/users/masak/followers","following_url":"https://api.github.com/users/masak/following{/other_user}","gists_url":"https://api.github.com/users/masak/gists{/gist_id}","starred_url":"https://api.github.com/users/masak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masak/subscriptions","organizations_url":"https://api.github.com/users/masak/orgs","repos_url":"https://api.github.com/users/masak/repos","events_url":"https://api.github.com/users/masak/events{/privacy}","received_events_url":"https://api.github.com/users/masak/received_events","type":"User","site_admin":false},"labels":[{"id":510969817,"url":"https://api.github.com/repos/masak/007/labels/needs-more-design","name":"needs-more-design","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-02T07:43:56Z","updated_at":"2017-06-02T07:43:56Z","closed_at":null,"body":"Proposing this as a language feature while formally noting my reluctance and displeasure at the proposal. :stuck_out_tongue: \r\n\r\nCurrently, [the homepage](http://masak.github.io/007/) boasts that 007, like Python but unlike Perl 6, eschews implicit returns. Maybe we should allow that, though.\r\n\r\nWhy? These are my three reasons:\r\n\r\n* Currently there are no lambdas, and barring #215 the shortest way to write the identity function is `sub (v) { return v }`. Kind of long for such a natural idea.\r\n* I keep *forgetting* to put in `return`, as if my brain expects the return to be implicit. (This also happens to me occasionally in JavaScript.)\r\n* The hard-won conclusion of #7 means we *already* have this kind of semantics for quasis... so why not for functions too? Making it more (strangely) consistent."}}
{"actor":{"display_login":"masak"}}