1

From a tutorial:

With the lambda keyword, small anonymous functions can be created. ... They are syntactically restricted to a single expression.

Why on Earth does this limitation exist?

martineau
  • 119,623
  • 25
  • 170
  • 301
Vorac
  • 8,726
  • 11
  • 58
  • 101
  • Why don't we just use `lambda` in place of regular functions for everything then so we don't have to type a `return`? That's starting to sound like perl to me. (Keep in mind Guido hates `lambda`s and almost had them removed) – jamylak May 23 '13 at 10:26

0 Answers0