Solve exercise 2
This commit is contained in:
parent
d77d0020a2
commit
f0673525ee
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,13 @@
|
||||||
-- Ja
|
-- Ja
|
||||||
-- Nein
|
-- 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 =
|
data Term =
|
||||||
Nat Integer
|
Nat Integer
|
||||||
| Abs String Term -- EAbs Abstraction
|
| Abs String Term -- EAbs Abstraction
|
||||||
|
|
Loading…
Reference in a new issue