diff options
Diffstat (limited to 'snug-clean/src/Snug/Compile.dcl')
-rw-r--r-- | snug-clean/src/Snug/Compile.dcl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/snug-clean/src/Snug/Compile.dcl b/snug-clean/src/Snug/Compile.dcl index d329156..9ad66ff 100644 --- a/snug-clean/src/Snug/Compile.dcl +++ b/snug-clean/src/Snug/Compile.dcl @@ -1,5 +1,6 @@ definition module Snug.Compile +from Data.Error import :: MaybeError from Data.Map import :: Map from MIPS.MIPS32 import :: Line @@ -23,6 +24,4 @@ from Snug.Syntax import :: ConstructorDef, :: ConstructorIdent, :: Definition, , type :: !Type } -compile :: !Namespace ![Definition] -> [Line] - -compileDefinition :: !Namespace !Globals !Definition -> [Line] +compile :: !Namespace ![Definition] -> MaybeError String [Line] |