Module lambda_calculus::pair [] [src]

Functions

fst

Applied to a Church-encoded pair (a, b) it yields a.

pair

Produces a Church-encoded pair; applying it to two other terms puts them inside it.

snd

Applied to a Church-encoded pair (a, b) it yields b.