Lambda Calculus via C# (12) Church Numeral Comparison Operators
With the predicates defined in previous part, operators can be defined in _Numeral class
740 words
|
4 minutes
Lambda Calculus via C# (11) Predicates, And Divide
A is a function that returns a Boolean value. In Church encoding of lambda calculus, a predicate is a lambda expression that return
601 words
|
3 minutes
Lambda Calculus via C# (10) Church Numeral Arithmetic Operators
Another benefits of introducing (cheating with) into lambda calculus is - it provides a place to define
766 words
|
4 minutes
Lambda Calculus via C# (9) Wrapping Church Numerals And Arithmetic
In , the Decrease function was a Func<Numeral<Func<Func<T, T>, T>>, Numeral<T>>:
670 words
|
3 minutes
Lambda Calculus via C# (8) Church Numeral Arithmetic
The previous part defined Church numerals in and implemented 0, 1, 2, 3 in 2 different ways. By observing the definition and code, there are some pat
560 words
|
3 minutes
Lambda Calculus via C# (7) Encoding Church Numerals
Previous parts showed that , , and [if logic](/posts/l
572 words
|
3 minutes
Lambda Calculus via C# (5) Boolean Logic
After defining Boolean values True and False with functions, now the Boolean logics can be encoded, by functions too.
701 words
|
4 minutes
Lambda Calculus via C# (4) Encoding Church Booleans
After clarifying the concepts and terms, a lot of implementation coding starts from this part.
709 words
|
4 minutes
Lambda Calculus via C# (3) Fundamentals - Function composition
It may not be the best place to discuss function composition in the lambda calculus series. However, function composition will be used a lot in later articles, so here is a brief introduction.
460 words
|
2 minutes