Safe Haskell | None |
---|---|
Language | Haskell98 |
- unModuleName :: ModuleName -> String
- overModuleName :: (String -> String) -> ModuleName -> ModuleName
- namedImport :: String -> ImportDecl
- qualImport :: String -> ImportDecl
- haskellStringType :: Type
- haskellByteStringType :: Type
- haskellUnitType :: Type
- haskellSimpleType :: String -> Type
- haskellVoidType :: Type
- noLoc :: SrcLoc
- data ModuleName l :: * -> * = ModuleName l String
- data ImportDecl l :: * -> * = ImportDecl {
- importAnn :: l
- importModule :: ModuleName l
- importQualified :: Bool
- importSrc :: Bool
- importSafe :: Bool
- importPkg :: Maybe String
- importAs :: Maybe (ModuleName l)
- importSpecs :: Maybe (ImportSpecList l)
Documentation
unModuleName :: ModuleName -> String Source #
overModuleName :: (String -> String) -> ModuleName -> ModuleName Source #
namedImport :: String -> ImportDecl Source #
Create a simple named basic import, to be updated with other fields as needed.
qualImport :: String -> ImportDecl Source #
Qualified import with given name
haskellStringType :: Type Source #
haskellByteStringType :: Type Source #
haskellUnitType :: Type Source #
haskellSimpleType :: String -> Type Source #
haskellVoidType :: Type Source #
data ModuleName l :: * -> * #
The name of a Haskell module.
Functor ModuleName | |
Foldable ModuleName | |
Traversable ModuleName | |
Annotated ModuleName | |
Eq l => Eq (ModuleName l) | |
Data l => Data (ModuleName l) | |
Ord l => Ord (ModuleName l) | |
Show l => Show (ModuleName l) | |
Generic (ModuleName l) | |
Pretty (ModuleName l) | |
type Rep (ModuleName l) | |
data ImportDecl l :: * -> * #
An import declaration.
ImportDecl | |
|
Functor ImportDecl | |
Foldable ImportDecl | |
Traversable ImportDecl | |
Annotated ImportDecl | |
Eq l => Eq (ImportDecl l) | |
Data l => Data (ImportDecl l) | |
Ord l => Ord (ImportDecl l) | |
Show l => Show (ImportDecl l) | |
Generic (ImportDecl l) | |
Pretty (ImportDecl l) | |
type Rep (ImportDecl l) | |