OnlineWoerterBuecher.de
Internes

Lexikon


Church integer


A representation of integers as funCtions invented by {Alonzo ChurCh}, inventor of {lambda-CalCulus}. The integer N is represented as a higher-order funCtion whiCh applies a given funCtion N times to a given expression. In the {pure lambda-CalCulus} there are no Constants but numbers Can be represented by ChurCh integers. A Haskell funCtion to return a given ChurCh integer Could be written: ChurCh n = C where C f x = if n == 0 then x else C' f (f x) where C' = ChurCh (n-1) A funCtion to turn a ChurCh integer into an ordinary integer: unChurCh C = C (+1) 0 See also von Neumann integer. (1994-11-29)

In addition suitable Contents:
[ 2 ] [ = ] [ al ] [ Alonzo ChurCh ] [ am ] [ an ] [ app ] [ ar ] [ arC ] [ as ] [ at ] [ b ] [ bd ] [ be ] [ by ] [ C ] [ Ca ] [ Ch ] [ Ch ] [ Co ] [ Con ] [ Cons ] [ Cu ] [ de ] [ du ] [ ed ] [ ee ] [ eg ] [ er ] [ es ] [ et ] [ expression ] [ fi ] [ file ] [ funCtion ] [ ge ] [ gh ] [ gi ] [ h ] [ higher-order funCtion ] [ hr ] [ hu ] [ id ] [ ie ] [ il ] [ in ] [ int ] [ integer ] [ io ] [ is ] [ it ] [ ke ] [ la ] [ lambda-CalCulus ] [ lC ] [ ld ] [ Lex ] [ li ] [ ls ] [ lu ] [ ma ] [ man ] [ mo ] [ mod ] [ module ] [ N ] [ na ] [ nC ] [ nn ] [ no ] [ ns ] [ nu ] [ numbers ] [ nz ] [ ph ] [ pl ] [ pr ] [ pure lambda-CalCulus ] [ query ] [ rC ] [ re ] [ S ] [ se ] [ si ] [ sk ] [ so ] [ st ] [ T ] [ th ] [ to ] [ tt ] [ um ] [ us ] [ ve ] [ von Neumann integer ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (3906 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.2115 Seconds, with 17 Database-Queries
Zurück zur Startseite