Cabal-2.4.1.0: A framework for packaging Haskell software
Distribution.Types.PackageId.Lens
data PackageIdentifier Source #
The name and version of a package.
Defined in Distribution.Types.PackageId
Methods
(==) :: PackageIdentifier -> PackageIdentifier -> Bool #
(/=) :: PackageIdentifier -> PackageIdentifier -> Bool #
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PackageIdentifier -> c PackageIdentifier #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PackageIdentifier #
toConstr :: PackageIdentifier -> Constr #
dataTypeOf :: PackageIdentifier -> DataType #
dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PackageIdentifier) #
dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PackageIdentifier) #
gmapT :: (forall b. Data b => b -> b) -> PackageIdentifier -> PackageIdentifier #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PackageIdentifier -> r #
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PackageIdentifier -> r #
gmapQ :: (forall d. Data d => d -> u) -> PackageIdentifier -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> PackageIdentifier -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> PackageIdentifier -> m PackageIdentifier #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PackageIdentifier -> m PackageIdentifier #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PackageIdentifier -> m PackageIdentifier #
compare :: PackageIdentifier -> PackageIdentifier -> Ordering #
(<) :: PackageIdentifier -> PackageIdentifier -> Bool #
(<=) :: PackageIdentifier -> PackageIdentifier -> Bool #
(>) :: PackageIdentifier -> PackageIdentifier -> Bool #
(>=) :: PackageIdentifier -> PackageIdentifier -> Bool #
max :: PackageIdentifier -> PackageIdentifier -> PackageIdentifier #
min :: PackageIdentifier -> PackageIdentifier -> PackageIdentifier #
readsPrec :: Int -> ReadS PackageIdentifier #
readList :: ReadS [PackageIdentifier] #
readPrec :: ReadPrec PackageIdentifier #
readListPrec :: ReadPrec [PackageIdentifier] #
showsPrec :: Int -> PackageIdentifier -> ShowS #
show :: PackageIdentifier -> String #
showList :: [PackageIdentifier] -> ShowS #
Associated Types
type Rep PackageIdentifier :: Type -> Type #
from :: PackageIdentifier -> Rep PackageIdentifier x #
to :: Rep PackageIdentifier x -> PackageIdentifier #
put :: PackageIdentifier -> Put #
get :: Get PackageIdentifier #
putList :: [PackageIdentifier] -> Put #
rnf :: PackageIdentifier -> () #
pretty :: PackageIdentifier -> Doc Source #
parsec :: CabalParsing m => m PackageIdentifier Source #
disp :: PackageIdentifier -> Doc Source #
parse :: ReadP r PackageIdentifier Source #
Defined in Distribution.Package
packageId :: PackageIdentifier -> PackageIdentifier Source #
pkgName :: Lens' PackageIdentifier PackageName Source #
pkgVersion :: Lens' PackageIdentifier Version Source #