[Home]Y combinator

HomePage | Recent Changes | Preferences

Showing revision 4
The Y combinator or Y constructor is a formula in lambda calculus which allows the definition of recursive functions in that formalism.

Church invented the Y combinator:

Y = (\h . (\x. h (x x)) (\x. h (x x)))

which has the cute property that it reproduces whatever argument we give it:

   Y A   ===> A (Y A)
         ===> A (A (Y A))
         ===> A (A (A (Y A)))
         ===> A (A (A (A (Y A))))
         ===> ...


HomePage | Recent Changes | Preferences
This page is read-only | View other revisions | View current revision
Edited November 7, 2001 8:39 am by 129.128.137.xxx (diff)
Search: