curry gotcha
[cc1516.git] / sem.dcl
diff --git a/sem.dcl b/sem.dcl
index 08d8c8d..a570597 100644 (file)
--- 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)