Cabal-3.2.0.0: A framework for packaging Haskell software
Safe HaskellNone
LanguageHaskell2010

Distribution.Types.LibraryName

Synopsis

Documentation

data LibraryName Source #

Instances

Instances details
Eq LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Data LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Methods

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

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

toConstr :: LibraryName -> Constr Source #

dataTypeOf :: LibraryName -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Ord LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Read LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Show LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Generic LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Associated Types

type Rep LibraryName :: Type -> Type Source #

Binary LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

NFData LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Methods

rnf :: LibraryName -> () Source #

Structured LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

type Rep LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

type Rep LibraryName = D1 ('MetaData "LibraryName" "Distribution.Types.LibraryName" "Cabal-3.2.0.0" 'False) (C1 ('MetaCons "LMainLibName" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LSubLibName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnqualComponentName)))

Pretty & Parse

prettyLibraryNameComponent :: LibraryName -> Doc Source #

Pretty print LibraryName in build-target-ish syntax.

Note: there are no Pretty or Parsec instances, as there's other way to represent LibraryName, namely as bare UnqualComponentName.