git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
add ImportDeclaration constructor
commitaf5517843b7ee07bc61ebd9f3e22b84bac67872c authorBogdan Popa <popa.bogdanp@gmail.com> dateSat 16 Nov 2013, 20:49 (13 years ago) parent7456058
1 file changed+3−1
src/Language/PureScript/Declarations.hs+3−1
src/Language/PureScript/Declarations.hs+3−1
@@ -38,4 +38,6 @@ data Declaration
3838 | ExternMemberDeclaration String Ident PolyType
3939 | ExternDataDeclaration ProperName Kind
4040 | 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)