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 #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GenericPackageDescription #
toConstr :: GenericPackageDescription -> Constr #
dataTypeOf :: GenericPackageDescription -> DataType #
dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GenericPackageDescription) #
dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GenericPackageDescription) #
gmapT :: (forall b. Data b => b -> b) -> GenericPackageDescription -> GenericPackageDescription #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GenericPackageDescription -> r #
gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GenericPackageDescription -> r #
gmapQ :: (forall d. Data d => d -> u) -> GenericPackageDescription -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> GenericPackageDescription -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription #
Associated Types
type Rep GenericPackageDescription :: Type -> Type #
from :: GenericPackageDescription -> Rep GenericPackageDescription x #
to :: Rep GenericPackageDescription x -> GenericPackageDescription #
showsPrec :: Int -> GenericPackageDescription -> ShowS #
show :: GenericPackageDescription -> String #
showList :: [GenericPackageDescription] -> ShowS #
put :: GenericPackageDescription -> Put #
get :: Get GenericPackageDescription #
putList :: [GenericPackageDescription] -> Put #
rnf :: GenericPackageDescription -> () #
(==) :: GenericPackageDescription -> GenericPackageDescription -> Bool #
(/=) :: GenericPackageDescription -> GenericPackageDescription -> Bool #
emptyGenericPackageDescription :: GenericPackageDescription Source #