Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ConfiguredComponent = ConfiguredComponent { }
- cc_name :: ConfiguredComponent -> ComponentName
- cc_cid :: ConfiguredComponent -> ComponentId
- cc_pkgid :: ConfiguredComponent -> PackageId
- toConfiguredComponent :: PackageDescription -> ComponentId -> ConfiguredComponentMap -> 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 Source #
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 Source #
The
ComponentName
of a component; this uniquely identifies
a fragment of syntax within a specified Cabal file describing the
component.
cc_cid :: ConfiguredComponent -> ComponentId Source #
Uniquely identifies a configured component.
cc_pkgid :: ConfiguredComponent -> PackageId Source #
The package this component came from.
toConfiguredComponent :: PackageDescription -> ComponentId -> ConfiguredComponentMap -> ConfiguredComponentMap -> Component -> LogProgress ConfiguredComponent Source #
toConfiguredComponents :: Bool -> FlagAssignment -> Bool -> Flag String -> Flag ComponentId -> PackageDescription -> ConfiguredComponentMap -> [ Component ] -> LogProgress [ ConfiguredComponent ] Source #
dispConfiguredComponent :: ConfiguredComponent -> Doc Source #
Pretty-print a
ConfiguredComponent
.
type ConfiguredComponentMap = Map PackageName ( Map ComponentName ( AnnotatedId ComponentId )) Source #