Safe Haskell | Safe-Infered |
---|
- type LImportDecl name = Located (ImportDecl name)
- data ImportDecl name = ImportDecl {
- ideclName :: Located ModuleName
- ideclPkgQual :: Maybe FastString
- ideclSource :: Bool
- ideclSafe :: Bool
- ideclQualified :: Bool
- ideclImplicit :: Bool
- ideclAs :: Maybe ModuleName
- ideclHiding :: Maybe (Bool, [LIE name])
- simpleImportDecl :: ModuleName -> ImportDecl name
- type LIE name = Located (IE name)
- data IE name
- = IEVar name
- | IEThingAbs name
- | IEThingAll name
- | IEThingWith name [name]
- | IEModuleContents ModuleName
- | IEGroup Int HsDocString
- | IEDoc HsDocString
- | IEDocNamed String
- ieName :: IE name -> name
- ieNames :: IE a -> [a]
Documentation
type LImportDecl name = Located (ImportDecl name)Source
data ImportDecl name Source
A single Haskell import
declaration.
ImportDecl | |
|
Typeable1 ImportDecl | |
Data name => Data (ImportDecl name) | |
OutputableBndr name => Outputable (ImportDecl name) |
simpleImportDecl :: ModuleName -> ImportDecl nameSource
Imported or exported entity.
IEVar name | |
IEThingAbs name | Class/Type (can't tell) |
IEThingAll name | ClassType plus all methodsconstructors |
IEThingWith name [name] | ClassType plus some methodsconstructors |
IEModuleContents ModuleName | (Export Only) |
IEGroup Int HsDocString | Doc section heading |
IEDoc HsDocString | Some documentation |
IEDocNamed String | Reference to named doc |
Typeable1 IE | |
Eq name => Eq (IE name) | |
Data name => Data (IE name) | |
(OutputableBndr name, Outputable name) => Outputable (IE name) |