update help'
[cc1516.git] / sem.dcl
diff --git a/sem.dcl b/sem.dcl
index 5c01ba0..a2bcd57 100644 (file)
--- a/sem.dcl
+++ b/sem.dcl
@@ -1,15 +1,19 @@
 definition module sem
 
+import qualified Data.Map as Map
 from Data.Either import :: Either
 from AST import :: AST, :: Pos, :: Type
+from StdOverloaded import class toString
 
 :: SemError 
        = ParseError Pos String 
        | UnifyError Pos Type Type 
+       | UnifyErrorStub Type Type 
        | Error String
-:: SemOutput :== Either [SemError] AST
-
+:: Gamma
+:: SemOutput :== Either [SemError] (AST, Gamma)
 
 instance toString SemError
+instance toString Gamma
 
 sem :: AST -> SemOutput