Cabal-3.2.0.0: A framework for packaging Haskell software
Safe HaskellNone
LanguageHaskell2010

Distribution.Types.AnnotatedId

Synopsis

Documentation

data AnnotatedId id Source #

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

Instances details
Functor AnnotatedId Source # 
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) Source # 
Instance details

Defined in Distribution.Types.AnnotatedId

Methods

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

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

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

Defined in Distribution.Types.AnnotatedId

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

Defined in Distribution.Types.AnnotatedId

Package (AnnotatedId id) Source # 
Instance details

Defined in Distribution.Types.AnnotatedId