Cabal-2.1.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
Functor AnnotatedId # 
Instance details

Methods

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

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

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

Methods

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

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

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