ghc-9.8.3: The GHC API
Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Syntax.Module.Name

Synopsis

Documentation

newtype ModuleName Source #

A ModuleName is essentially a simple string, e.g. Data.List.

Constructors

ModuleName FastString 

Instances

Instances details
Data ModuleName Source # 
Instance details

Defined in Language.Haskell.Syntax.Module.Name

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModuleName -> c ModuleName Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModuleName Source #

toConstr :: ModuleName -> Constr Source #

dataTypeOf :: ModuleName -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModuleName) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModuleName) Source #

gmapT :: (forall b. Data b => b -> b) -> ModuleName -> ModuleName Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModuleName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModuleName -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ModuleName -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModuleName -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModuleName -> m ModuleName Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModuleName -> m ModuleName Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModuleName -> m ModuleName Source #

Show ModuleName Source # 
Instance details

Defined in Language.Haskell.Syntax.Module.Name

NFData ModuleName Source # 
Instance details

Defined in Language.Haskell.Syntax.Module.Name

Methods

rnf :: ModuleName -> () Source #

Uniquable ModuleName Source # 
Instance details

Defined in GHC.Types.Unique

Binary ModuleName Source # 
Instance details

Defined in GHC.Utils.Binary

Outputable ModuleName Source # 
Instance details

Defined in GHC.Utils.Outputable

Methods

ppr :: ModuleName -> SDoc Source #

Eq ModuleName Source # 
Instance details

Defined in Language.Haskell.Syntax.Module.Name

Ord ModuleName Source # 
Instance details

Defined in Language.Haskell.Syntax.Module.Name

type Anno ModuleName Source # 
Instance details

Defined in GHC.Hs.ImpExp

type Anno ModuleName Source # 
Instance details

Defined in GHC.Hs

stableModuleNameCmp :: ModuleName -> ModuleName -> Ordering Source #

Compares module names lexically, rather than by their Uniques

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.