top of page

Lambda

Lambdas are just functions without an identifier. They can be defined with the arguments on the left side of the arrow and the expression to be returned is on the right.

​

> (x -> x * 2) 3

6

bottom of page