about summary refs log tree commit diff
path: root/tests/examples/bools-not-t.lam
blob: 9afcc486bcbf4be9e7f4f73b042deb8df7a1b4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(\ true false and or not .

    not true

    -- Should reduce to false, i.e., \ x y . y
)
-- true
(\ x y . x)
-- false
(\ x y . y)
-- and
(\ p q . p q p)
-- or
(\ p q . p p q)
-- not
(\ p x y . p y x)