Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ModuleName = ModuleName FastString
- stableModuleNameCmp :: ModuleName -> ModuleName -> Ordering
- moduleNameFS :: ModuleName -> FastString
- moduleNameString :: ModuleName -> String
- mkModuleName :: String -> ModuleName
- mkModuleNameFS :: FastString -> ModuleName
- moduleNameSlashes :: ModuleName -> String
- moduleNameColons :: ModuleName -> String
- parseModuleName :: ReadP ModuleName
Documentation
newtype ModuleName Source #
A ModuleName is essentially a simple string, e.g. Data.List
.
Instances
stableModuleNameCmp :: ModuleName -> ModuleName -> Ordering Source #
Compares module names lexically, rather than by their Unique
s
moduleNameFS :: ModuleName -> FastString Source #
moduleNameString :: ModuleName -> String Source #
mkModuleName :: String -> ModuleName Source #
moduleNameSlashes :: ModuleName -> String Source #
Returns the string version of the module name, with dots replaced by slashes.
moduleNameColons :: ModuleName -> String Source #
Returns the string version of the module name, with dots replaced by colons.