Hacker News new | ask | show | jobs
by dbpatterson 4989 days ago
If you want to use a semi-colon, then use a return statement. ie: return foo;
1 comments

That only works for the function-level return value, and not something like returning from a let x = match blah { ... } block.