Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
comex
on March 21, 2014
|
parent
|
context
|
favorite
| on:
iGo: a new Syntax for GoLang
I kinda want to see Rust without braces or semicolons, although I'm not sure what you'd do with implicit return.
Araq
on March 21, 2014
[–]
Nimrod solved that... The solution in a nutshell: If a statement list contains a 'return', it enforces a 'void' context for the statement list, otherwise the statement list has the type of the tailing expression e in (s; s; e).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: