Cabal-3.0.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.AnnotatedId

Synopsis

Documentation

data AnnotatedId id #

An AnnotatedId is a ComponentId, UnitId, etc. which is annotated with some other useful information that is useful for printing to users, etc.

Invariant: if ann_id x == ann_id y, then ann_pid x == ann_pid y and ann_cname x == ann_cname y

Constructors

AnnotatedId 
Instances
Functor AnnotatedId # 
Instance details

Defined in Distribution.Types.AnnotatedId

Methods

fmap :: (a -> b) -> AnnotatedId a -> AnnotatedId b #

(<$) :: a -> AnnotatedId b -> AnnotatedId a #

Eq id => Eq (AnnotatedId id) # 
Instance details

Defined in Distribution.Types.AnnotatedId

Methods

(==) :: AnnotatedId id -> AnnotatedId id -> Bool #

(/=) :: AnnotatedId id -> AnnotatedId id -> Bool #

Ord id => Ord (AnnotatedId id) # 
Instance details

Defined in Distribution.Types.AnnotatedId

Show id => Show (AnnotatedId id) # 
Instance details

Defined in Distribution.Types.AnnotatedId

Package (AnnotatedId id) # 
Instance details

Defined in Distribution.Types.AnnotatedId