diff options
Diffstat (limited to 'tests/examples/bools-not-t.lam')
-rw-r--r-- | tests/examples/bools-not-t.lam | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/examples/bools-not-t.lam b/tests/examples/bools-not-t.lam new file mode 100644 index 0000000..9afcc48 --- /dev/null +++ b/tests/examples/bools-not-t.lam @@ -0,0 +1,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) |