strictness, ci
[minfp.git] / check.dcl
index b35ad70..8abb9db 100644 (file)
--- a/check.dcl
+++ b/check.dcl
@@ -1,6 +1,11 @@
 definition module check
 
+from StdOverloaded import class toString
 from Data.Either import :: Either
-from ast import :: Function, :: Expression, :: Type
+from ast import :: Function, :: Expression, :: Type, :: TypeDef
 
-check :: [Function] -> Either [String] Expression
+:: Scheme = Forall [[Char]] Type
+
+instance toString Scheme
+
+check :: ![Either TypeDef Function] -> Either [String] (Expression, [([Char], Scheme)])