Cabal-3.0.1.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 # 
Instance details

Defined in Distribution.Types.AnnotatedId

Methods

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

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

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