Definition
Church Encoding
Boolean Logic
Note that is the ITE function.
Example
K Combinator
Definition
Link to originalK Combinator
The K combinator is a combinator used in Church encoding to represent true (boolean value).
Numerals
Definition
Link to originalChurch Numeral
Church numerals are a type of Church encoding for natural numbers.
The general form for a Church numeral is:
where is a shorthand for applying repeatedly times.