Solve exercise 2

This commit is contained in:
Manuel Thalmann 2024-06-16 23:59:43 +02:00
parent d77d0020a2
commit f0673525ee

View file

@ -6,6 +6,13 @@
-- Ja
-- Nein
--------------------
-- Exercise 2
--------------------
-- ((Lx.(x z)) (Ly.(x y)))
-- ((Lx.(x z)) (Ly.(w (Lw.(((w y) z) x)))))
-- (Lx.((x y) (Lx.(y x))))
data Term =
Nat Integer
| Abs String Term -- EAbs Abstraction