Safe Haskell | Safe |
---|---|
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
- newtype ModuleName :: * = ModuleName String
- data ImportDecl :: * = ImportDecl {
- importLoc :: SrcLoc
- importModule :: ModuleName
- importQualified :: Bool
- importSrc :: Bool
- importSafe :: Bool
- importPkg :: Maybe String
- importAs :: Maybe ModuleName
- importSpecs :: Maybe (Bool, [ImportSpec])
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
haskellSimpleType :: String -> Type Source #
newtype ModuleName :: * #
The name of a Haskell module.
data ImportDecl :: * #
An import declaration.
ImportDecl | |
|