about summary refs log tree commit diff
path: root/tests/examples/y.lam
blob: 996802d49de22abd35488f1a6d5a6b41034ba836 (plain)
1
2
3
4
5
6
7
-- normal form              N
-- weak normal form         Y
-- head normal form         N
-- weak head normal form    Y

-- Y combinator
\ f . (\ x . f (x x)) (\ x . f (x x))