Cabal-2.0.1.0: 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 # 
Data 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 # 
Read MungedPackageId # 
Show MungedPackageId # 
Generic MungedPackageId # 
Binary MungedPackageId # 
NFData MungedPackageId # 

Methods

rnf :: MungedPackageId -> () #

Text MungedPackageId # 
HasMungedPackageId MungedPackageId # 
type Rep MungedPackageId # 
type Rep MungedPackageId = D1 * (MetaData "MungedPackageId" "Distribution.Types.MungedPackageId" "Cabal-2.0.1.0-Jra8tLewAwA6OcEyyf1WGK" False) (C1 * (MetaCons "MungedPackageId" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "mungedName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * MungedPackageName)) (S1 * (MetaSel (Just Symbol "mungedVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Version))))

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

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