git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
add ImportDeclaration constructor
af55178Bogdan Popa
src/Language/PureScript/Declarations.hs+3−1
@@ -38,4 +38,6 @@ data Declaration
38 | ExternMemberDeclaration String Ident PolyType
38 | ExternMemberDeclaration String Ident PolyType
39 | ExternDataDeclaration ProperName Kind
39 | ExternDataDeclaration ProperName Kind
40 | FixityDeclaration Fixity String
40 | FixityDeclaration Fixity String
41− | ModuleDeclaration ProperName [Declaration] deriving (Show, D.Data, D.Typeable)
41+ | ModuleDeclaration ProperName [Declaration]
42+ | ImportDeclaration [ProperName] (Maybe [Ident])
43+ deriving (Show, D.Data, D.Typeable)