X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=sem.dcl;h=2b13436634edc08c5e11765533dd8d4d7b12a448;hb=483bcde4dbb75d1901cffad6cc2c45307b7e90a2;hp=08d8c8df66288f55ef1e5712823b8a8137e95d85;hpb=e0fd23079f1f63b83431afe78e9ec218d4609e9a;p=cc1516.git diff --git a/sem.dcl b/sem.dcl index 08d8c8d..2b13436 100644 --- a/sem.dcl +++ b/sem.dcl @@ -8,8 +8,9 @@ from StdOverloaded import class toString :: SemError :: Gamma :: SemOutput :== Either [SemError] (AST, Gamma) +:: Constraints :== [(Type, Type)] instance toString SemError instance toString Gamma -sem :: AST -> SemOutput +sem :: AST -> Either [SemError] AST