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 #
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 # | |
lc_insts :: LinkedComponent -> [(ModuleName, OpenModule)] #
lc_uid :: LinkedComponent -> OpenUnitId #
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 #
Uniquely identifies a LinkedComponent
. Corresponds to
cc_cid
.
lc_pkgid :: LinkedComponent -> PackageId #
Corresponds to cc_pkgid
.
toLinkedComponent :: Verbosity -> FullDb -> PackageId -> LinkedComponentMap -> ConfiguredComponent -> LogProgress LinkedComponent #
toLinkedComponents :: Verbosity -> FullDb -> PackageId -> LinkedComponentMap -> [ConfiguredComponent] -> LogProgress [LinkedComponent] #
type LinkedComponentMap = Map ComponentId (OpenUnitId, ModuleShape) #