Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ConfiguredComponent = ConfiguredComponent {}
- cc_name :: ConfiguredComponent -> ComponentName
- cc_cid :: ConfiguredComponent -> ComponentId
- cc_pkgid :: ConfiguredComponent -> PackageId
- toConfiguredComponent :: PackageDescription -> ComponentId -> ConfiguredComponentMap -> Component -> LogProgress ConfiguredComponent
- toConfiguredComponents :: Bool -> FlagAssignment -> Bool -> Flag String -> Flag ComponentId -> PackageDescription -> ConfiguredComponentMap -> [Component] -> LogProgress [ConfiguredComponent]
- dispConfiguredComponent :: ConfiguredComponent -> Doc
- type ConfiguredComponentMap = Map PackageName (Map ComponentName (AnnotatedId ComponentId))
- extendConfiguredComponentMap :: ConfiguredComponent -> ConfiguredComponentMap -> ConfiguredComponentMap
- newPackageDepsBehaviour :: PackageDescription -> Bool
Documentation
data ConfiguredComponent #
A configured component, we know exactly what its ComponentId
is,
and the ComponentId
s of the things it depends on.
ConfiguredComponent | |
|
cc_name :: ConfiguredComponent -> ComponentName #
The ComponentName
of a component; this uniquely identifies
a fragment of syntax within a specified Cabal file describing the
component.
cc_cid :: ConfiguredComponent -> ComponentId #
Uniquely identifies a configured component.
cc_pkgid :: ConfiguredComponent -> PackageId #
The package this component came from.
toConfiguredComponent :: PackageDescription -> ComponentId -> ConfiguredComponentMap -> Component -> LogProgress ConfiguredComponent #
toConfiguredComponents :: Bool -> FlagAssignment -> Bool -> Flag String -> Flag ComponentId -> PackageDescription -> ConfiguredComponentMap -> [Component] -> LogProgress [ConfiguredComponent] #
dispConfiguredComponent :: ConfiguredComponent -> Doc #
Pretty-print a ConfiguredComponent
.