Cabal-2.4.0.1: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.MungedPackageId

Synopsis

Documentation

data MungedPackageId #

A simple pair of a MungedPackageName and Version. MungedPackageName is to MungedPackageId as PackageName is to PackageId. See MungedPackageName for more info.

Constructors

MungedPackageId 

Fields

Instances
Eq MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Data MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Methods

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

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

toConstr :: MungedPackageId -> Constr #

dataTypeOf :: MungedPackageId -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Read MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Show MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Generic MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Associated Types

type Rep MungedPackageId :: * -> * #

Binary MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

NFData MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

Methods

rnf :: MungedPackageId -> () #

Text MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

HasMungedPackageId MungedPackageId # 
Instance details

Defined in Distribution.Package

type Rep MungedPackageId # 
Instance details

Defined in Distribution.Types.MungedPackageId

type Rep MungedPackageId = D1 (MetaData "MungedPackageId" "Distribution.Types.MungedPackageId" "Cabal-2.4.0.1-4dDrY0nmi936kgccwkOPil" False) (C1 (MetaCons "MungedPackageId" PrefixI True) (S1 (MetaSel (Just "mungedName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 MungedPackageName) :*: S1 (MetaSel (Just "mungedVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Version)))

computeCompatPackageId :: PackageId -> Maybe UnqualComponentName -> MungedPackageId #

See docs for computeCompatPackageId. this is a thin wrapper around that.