🚀 Functions

This commit is contained in:
2024-09-06 14:10:00 +02:00
parent 1627f4c6aa
commit b4f8b71ade
4 changed files with 47 additions and 27 deletions

View File

@ -19,7 +19,8 @@ data Exp
| If Exp Exp Exp
| Var VName
| Let VName Exp Exp
-- TODO: add cases
| Lambda VName Exp
| Apply Exp Exp
deriving (Eq, Show)
printExp :: Exp -> String