Distribution.Types.PkgconfigName

Cabal-2.2.0.1: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.PkgconfigName

Synopsis

- data PkgconfigName
- unPkgconfigName :: PkgconfigName -> String
- mkPkgconfigName :: String -> PkgconfigName

# Documentation

data PkgconfigName #

A pkg-config library name

This is parsed as any valid argument to the pkg-config utility.

Since: Cabal-2.0.0.2

Instances

Eq PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods (==) :: PkgconfigName -> PkgconfigName -> Bool # (/=) :: PkgconfigName -> PkgconfigName -> Bool #
Data PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PkgconfigName -> c PkgconfigName Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PkgconfigName Source # toConstr :: PkgconfigName -> Constr Source # dataTypeOf :: PkgconfigName -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PkgconfigName) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PkgconfigName) Source # gmapT :: (forall b. Data b => b -> b) -> PkgconfigName -> PkgconfigName Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PkgconfigName -> r Source # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PkgconfigName -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PkgconfigName -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PkgconfigName -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PkgconfigName -> m PkgconfigName Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PkgconfigName -> m PkgconfigName Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PkgconfigName -> m PkgconfigName Source #
Ord PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods compare :: PkgconfigName -> PkgconfigName -> Ordering # (<) :: PkgconfigName -> PkgconfigName -> Bool # (<=) :: PkgconfigName -> PkgconfigName -> Bool # (>) :: PkgconfigName -> PkgconfigName -> Bool # (>=) :: PkgconfigName -> PkgconfigName -> Bool # max :: PkgconfigName -> PkgconfigName -> PkgconfigName # min :: PkgconfigName -> PkgconfigName -> PkgconfigName #
Read PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods readsPrec :: Int -> ReadS PkgconfigName Source # readList :: ReadS [PkgconfigName] Source # readPrec :: ReadPrec PkgconfigName Source # readListPrec :: ReadPrec [PkgconfigName] Source #
Show PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods showsPrec :: Int -> PkgconfigName -> ShowS Source # show :: PkgconfigName -> String Source # showList :: [PkgconfigName] -> ShowS Source #
IsString PkgconfigName # | `mkPkgconfigName` Since: Cabal-2.0.0.2
Instance details Defined in Distribution.Types.PkgconfigName Methods fromString :: String -> PkgconfigName Source #
Generic PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Associated Types type Rep PkgconfigName :: * -> * Source # Methods from :: PkgconfigName -> Rep PkgconfigName x Source # to :: Rep PkgconfigName x -> PkgconfigName Source #
NFData PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods rnf :: PkgconfigName -> () Source #
Binary PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods put :: PkgconfigName -> Put Source # get :: Get PkgconfigName Source # putList :: [PkgconfigName] -> Put Source #
Pretty PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods pretty :: PkgconfigName -> Doc #
Parsec PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods parsec :: CabalParsing m => m PkgconfigName #
Text PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName Methods disp :: PkgconfigName -> Doc # parse :: ReadP r PkgconfigName #
type Rep PkgconfigName # |
Instance details Defined in Distribution.Types.PkgconfigName type Rep PkgconfigName = D1 (MetaData "PkgconfigName" "Distribution.Types.PkgconfigName" "Cabal-2.2.0.1" True) (C1 (MetaCons "PkgconfigName" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ShortText)))

unPkgconfigName :: PkgconfigName -> String #

Convert `PkgconfigName` to `String`

Since: Cabal-2.0.0.2

mkPkgconfigName :: String -> PkgconfigName #

Construct a `PkgconfigName` from a `String`

`mkPkgconfigName` is the inverse to `unPkgconfigName`

Note: No validations are performed to ensure that the resulting `PkgconfigName` is valid

Since: Cabal-2.0.0.2