9 ms·
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.
by lboasso 12y ago
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.
- perlgeek 12y agoOK, thank you both for the explanation. That does sound sane :-).