Lambda Calculus via C# (12) Church Numeral Comparison Operators
2018-11-12
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
2018-11-11
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
2018-11-10
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
2018-11-09
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
2018-11-08
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
2018-11-07
Previous parts showed that , , and [if logic](/posts/l
572 words
|
3 minutes
Lambda Calculus via C# (6) If Logic, And Reduction Strategies
2018-11-06
The if logic is already built in .
693 words
|
3 minutes
Lambda Calculus via C# (5) Boolean Logic
2018-11-05
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
2018-11-04
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
2018-11-03
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