Lambda Calculus Examples (2009) [pdf]
ics.uci.edu
ics.uci.edu
[1] http://www.cs.ru.nl/~wouters/Publications/Tutorial.pdf [2] https://www.cis.upenn.edu/~bcpierce/tapl/ [3] https://softwarefoundations.cis.upenn.edu/plf-current/index....
Edit: Ah, and the Software Foundations books are amazing. I did a little course on formal verification during 2020 and learned a ton. Now every time I work with some kind of type system, I feel frustrated that I can't express everything that I want to in my type system.
[0] https://en.wikipedia.org/wiki/Lambda_calculus#Capture-avoidi...
[1] https://en.wikipedia.org/wiki/De_Bruijn_index
[2] https://raw.githubusercontent.com/steshaw/lennart-lambda/mas...
It starts with the general rules of lambda calculus, then build up some basic functions (like in the PDF linked in this thread) and continues to build data types like Natural Numbers, List, String, Tree and operators for manipulating them. The book also explains about the evaluation methods as well as covering how ML and LISP uses lambda calculus.
> Y combinator: Y = λt. (λx. t (x x)) (λx. t (x x))
#TIL!
Edit: It was the Omega operator that did that.
where id = λx. x
(though Y Y does not normalize either, infinite looping like omega)