Distribution.Types.GenericPackageDescription
data GenericPackageDescription Source #
Constructors
Fields
This is a version as specified in source. We populate this field in index reading for dummy GPDs, only when GPD reading failed, but scanning haven't.
Cabal-the-library never produces GPDs with Just as gpdScannedVersion.
Perfectly, PackageIndex should have sum type, so we don't need to have dummy GPDs.
Defined in Distribution.Types.GenericPackageDescription
Methods
packageId :: GenericPackageDescription -> PackageIdentifier Source #
traverseBuildInfos :: Traversal' GenericPackageDescription BuildInfo Source #
structure :: Proxy GenericPackageDescription -> Structure Source #
structureHash' :: Tagged GenericPackageDescription MD5
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GenericPackageDescription -> c GenericPackageDescription Source #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GenericPackageDescription Source #
toConstr :: GenericPackageDescription -> Constr Source #
dataTypeOf :: GenericPackageDescription -> DataType Source #
dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GenericPackageDescription) Source #
dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GenericPackageDescription) Source #
gmapT :: (forall b. Data b => b -> b) -> GenericPackageDescription -> GenericPackageDescription Source #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GenericPackageDescription -> r Source #
gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GenericPackageDescription -> r Source #
gmapQ :: (forall d. Data d => d -> u) -> GenericPackageDescription -> [u] Source #
gmapQi :: Int -> (forall d. Data d => d -> u) -> GenericPackageDescription -> u Source #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription Source #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription Source #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription Source #
Associated Types
type Rep GenericPackageDescription :: Type -> Type Source #
from :: GenericPackageDescription -> Rep GenericPackageDescription x Source #
to :: Rep GenericPackageDescription x -> GenericPackageDescription Source #
showsPrec :: Int -> GenericPackageDescription -> ShowS Source #
show :: GenericPackageDescription -> String Source #
showList :: [GenericPackageDescription] -> ShowS Source #
put :: GenericPackageDescription -> Put Source #
get :: Get GenericPackageDescription Source #
putList :: [GenericPackageDescription] -> Put Source #
rnf :: GenericPackageDescription -> () Source #
(==) :: GenericPackageDescription -> GenericPackageDescription -> Bool #
(/=) :: GenericPackageDescription -> GenericPackageDescription -> Bool #
emptyGenericPackageDescription :: GenericPackageDescription Source #