Add a lambda term type

This commit is contained in:
Manuel Thalmann 2024-06-16 23:46:51 +02:00
parent cf5867e616
commit 7e360c357e

View file

@ -0,0 +1,6 @@
data Term =
Nat Integer
| Abs String Term -- EAbs Abstraction
| Inv Term Term -- EApp Invocation (a.k.a. Application) of a function
| Var String -- EVar a variable
| Add