Lambda expression

From Fresh Dictionary

English

Noun phrase

lambda expression

  1. An algebraic expression representing a function by binding one or more parameters to an expression which may contain those parameters.

Examples

ExpressionMeaning
<math>\lambda x.1</math>The constant value 1
<math>\lambda x.x</math>The identity
<math>\lambda x.x+1</math><math>f(x)=x+1</math>
<math>\lambda n.\lambda x.x+n</math><math>f(n) = g</math> where <math>g(x) = x+n</math>
Personal tools