git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Add comment explaining ImportedModule
commitd7e0047be6299c4d3acd4c6037b5d577944ff751 authorHarry Garrood <harry@garrood.me> dateSat 14 Mar 2015, 19:16 (12 years ago) parentb8d96cc
1 file changed+9
psci/Commands.hs+9
psci/Commands.hs+9
@@ -66,4 +66,13 @@ data Command
6666 --
6767 | Show String
6868
69+-- | All of the data that is contained by an ImportDeclaration in the AST.
70+-- That is:
71+--
72+-- * A module name, the name of the module which is being imported
73+-- * An ImportDeclarationType which specifies whether there is an explicit
74+-- import list, a hiding list, or neither.
75+-- * If the module is imported qualified, its qualified name in the importing
76+-- module. Otherwise, Nothing.
77+--
6978type ImportedModule = (ModuleName, ImportDeclarationType, Maybe ModuleName)