Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data LinkedComponent = LinkedComponent {}
- lc_insts :: LinkedComponent -> [(ModuleName, OpenModule)]
- lc_uid :: LinkedComponent -> OpenUnitId
- lc_cid :: LinkedComponent -> ComponentId
- lc_pkgid :: LinkedComponent -> PackageId
- toLinkedComponent :: Verbosity -> FullDb -> PackageId -> LinkedComponentMap -> ConfiguredComponent -> LogProgress LinkedComponent
- toLinkedComponents :: Verbosity -> FullDb -> PackageId -> LinkedComponentMap -> [ConfiguredComponent] -> LogProgress [LinkedComponent]
- dispLinkedComponent :: LinkedComponent -> Doc
- type LinkedComponentMap = Map ComponentId (OpenUnitId, ModuleShape)
- extendLinkedComponentMap :: LinkedComponent -> LinkedComponentMap -> LinkedComponentMap
Documentation
data LinkedComponent Source #
A linked component is a component that has been mix-in linked, at
which point we have determined how all the dependencies of the
component are explicitly instantiated (in the form of an OpenUnitId).
ConfiguredComponent
is mix-in linked into LinkedComponent
, which
is then instantiated into ReadyComponent
.
LinkedComponent | |
|
Instances
Package LinkedComponent Source # | |
Defined in Distribution.Backpack.LinkedComponent |
lc_insts :: LinkedComponent -> [(ModuleName, OpenModule)] Source #
lc_uid :: LinkedComponent -> OpenUnitId Source #
The OpenUnitId
of this component in the "default" instantiation.
See also lc_insts
. LinkedComponent
s cannot be instantiated
(e.g., there is no ModSubst
instance for them).
lc_cid :: LinkedComponent -> ComponentId Source #
Uniquely identifies a LinkedComponent
. Corresponds to
cc_cid
.
toLinkedComponent :: Verbosity -> FullDb -> PackageId -> LinkedComponentMap -> ConfiguredComponent -> LogProgress LinkedComponent Source #
toLinkedComponents :: Verbosity -> FullDb -> PackageId -> LinkedComponentMap -> [ConfiguredComponent] -> LogProgress [LinkedComponent] Source #
type LinkedComponentMap = Map ComponentId (OpenUnitId, ModuleShape) Source #