A lot of small changes, added better error messages for bugs mainly

This commit is contained in:
sebastianselander 2023-05-11 18:37:03 +02:00
parent 5e1c81beb7
commit 6260dc2c41
10 changed files with 37 additions and 39 deletions

View file

@ -53,7 +53,9 @@ liftMM2 f m1 m2 = do
typeof :: Lit -> Type
typeof (LInt _) = int
typeof (LChar _) = char
typeof (LString _) = string
string = TLit "String"
int = TLit "Int"
char = TLit "Char"