@@ -43,10 +43,9 @@ environment interfaces modul@(Module.Module _ _ _ imports decls) =
43 found m = Map.member m interfaces || Module.nameIsNative m
43 found m = Map.member m interfaces || Module.nameIsNative m
45 missingModuleError missings =
45 missingModuleError missings =
46− concat [ "The following imports were not found: "
46+ concat [ "The following imports were not found:\n "
47 , List.intercalate ", " (map Module.nameToString missings)
47 , List.intercalate ", " (map Module.nameToString missings)
48− , "\n You may need to compile with the --make "
48+ ]
49− , "flag to detect modules you have written." ]
52addImports :: Module.Name -> Module.Interfaces -> Environment -> (Module.Name, Module.ImportMethod)
51addImports :: Module.Name -> Module.Interfaces -> Environment -> (Module.Name, Module.ImportMethod)