Cabal-3.0.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.LibraryName

Contents

Synopsis

Documentation

data LibraryName Source #

Instances
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 #

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

toConstr :: LibraryName -> Constr #

dataTypeOf :: LibraryName -> DataType #

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

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

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

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

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

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

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

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

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

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

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 #

Binary LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

NFData LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

Methods

rnf :: LibraryName -> () #

type Rep LibraryName Source # 
Instance details

Defined in Distribution.Types.LibraryName

type Rep LibraryName = D1 (MetaData "LibraryName" "Distribution.Types.LibraryName" "Cabal-3.0.0.0-Gy7jp3IKeIKC3g3Vs5T0x1" 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.