A lot of small changes, added better error messages for bugs mainly
This commit is contained in:
parent
5e1c81beb7
commit
6260dc2c41
10 changed files with 37 additions and 39 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue