Church boolean
In computer science, a Church boolean is a conceptual function that takes two lazy evaluation parameters (such as blocks or lambda's) and evaluates either the first or the second. The concept is named after Alonzo Church, inventor of the Lambda Calculus. There are only two Church booleans: true and false. Some programming languages use these as implementation model for boolean arithmetic, examples are Smalltalk and Pico programming language.
Related Topics:
Computer science - Lazy evaluation - Alonzo Church - Lambda Calculus - Smalltalk - Pico programming language
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Formal Definition in Lambda Calculus:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
true=λab.a
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
false=λab.b
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ Table of Content ~
| ► | Introduction |
~ What's Hot ~
All About Steve, The Karate Kid, Fantastic Mr Fox, The Hangover, My Sister S Keeper, 2012, Sex And The City 2, Alvin And The Chipmunks The Squeakquel, Madagascar 3, Percy Jackson The Olympians The Titan S Curse, Avatar, The Book Of Eli, The Mummy 4 Rise Of The Aztec, The Princess And The Frog, The Blind Side, 500 Days Of Summer, New Moon, Up In The Air, The Goods Live Hard Sell Hard, Dear John,
~ Community ~
| ► | History Forum Come and discuss about History, Civilizations, Historical Events and Figures |
| ► | History Web-Ring A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site. |
and are licensed under the GNU Free Documentation License.
Lexicon - Privacy Policy - Spiritus-Temporis.com ©2005.
