| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Distribution.Types.AnnotatedId
Synopsis
- data AnnotatedId id = AnnotatedId {
- ann_pid :: PackageId
- ann_cname :: ComponentName
- ann_id :: id
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.
Constructors
| AnnotatedId | |
Fields
| |
Instances
| Functor AnnotatedId Source # | |
Methods fmap :: (a -> b) -> AnnotatedId a -> AnnotatedId b # (<$) :: a -> AnnotatedId b -> AnnotatedId a # | |
| Show id => Show (AnnotatedId id) Source # | |
Methods showsPrec :: Int -> AnnotatedId id -> ShowS # show :: AnnotatedId id -> String # showList :: [AnnotatedId id] -> ShowS # | |
| Package (AnnotatedId id) Source # | |
Methods packageId :: AnnotatedId id -> PackageIdentifier Source # | |