Ensemble Home
Login
Search
About
Contact
Ensemble Collections
Collections Home
->
Planet Math Collection
-> Church integer
TITLE
Church integer
SUBJECT
msc:03B40, msc:68N18
SUBJECT
mathematics
DESCRIPTION
A ... Church integer is a representation of integers as functions, invented by Alonzo Church. An integer <i>N</i> is represented as a higher-order function, which applies a given function to a given expression <i>N</i> times. For example, in the programming language Haskell, a function that returns a particular Church integer might be ... The transformation from a Church integer to an integer might be ... unchurch n = n (+1) 0 ... Thus we can generate the integers--the ... function would be applied to an initial value of <i>0</i> <i>n</i> times, yielding the ordinary integer <i>n</i>.
PUBLISHER
PlanetMath
DATE
2004-09-18
TYPE
text
FORMAT
text/html
IDENTIFIER
planetmath:183
SOURCE
http://planetmath.org/encyclopedia/ChurchInteger.html
LANGUAGE
en-us
Powered by
Drupal
, an open source content management system.
Arch images by
criminalintent
,
auntlaura
, and
geishaboy500
.
CC BY-SA 2.0