Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
lboasso
11y ago
0 comments
Save
Share
Exactly if you want to return just an expression you can avoid them, otherwise if you use statements in the body of the lambda you need curly braces.
0 comments
1 comments · 1 top-level
top
newest
oldest
perlgeek
11y ago
OK, thank you both for the explanation. That does sound sane :-).
j
/
k
navigate · click thread line to collapse