@@ -22,14 +22,15 @@ data ImportMethod = As String | Importing [String] | Hiding [String]
2222 deriving (Eq, Ord, Show, Data, Typeable)
2323
2424data MetadataModule t v = MetadataModule {
25− names :: [String],
26− path :: FilePath,
27− exports :: [String],
28− imports :: [(String, ImportMethod)],
29− defs :: [Def t v],
30− types :: Map.Map String T.Variable,
31− fixities :: [(Assoc, Int, String)],
32− aliases :: [(String, [String], Type)],
25+ names :: [String],
26+ path :: FilePath,
27+ exports :: [String],
28+ imports :: [(String, ImportMethod)],
29+ defs :: [Def t v],
30+ types :: Map.Map String T.Variable,
31+ fixities :: [(Assoc, Int, String)],
32+ aliases :: [(String, [String], Type)],
33+ datatypes :: [ (String, [String], [(String,[Type])]) ],
3334 foreignImports :: [(String, LExpr t v, String, Type)],
3435 foreignExports :: [(String, String, Type)]
3536}