X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=sem.dcl;h=a5705977b29780197eb20ccbb152a641a1422df9;hb=c5fb28639ae923d9b55f5832e45186911e610991;hp=08d8c8df66288f55ef1e5712823b8a8137e95d85;hpb=13a108705dbabbc75711ce9b3b29fe508262919f;p=cc1516.git diff --git a/sem.dcl b/sem.dcl index 08d8c8d..a570597 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, Gamma)