HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecabal-install-solver-3.18.1.0Haskell2010

Distribution.Solver.Types.ComponentDeps

Fine-grained package dependencies

Like many others, this module is meant to be "double-imported":

import Distribution.Solver.Types.ComponentDeps (
    Component
  , ComponentDep
  , ComponentDeps
  )
import qualified Distribution.Solver.Types.ComponentDeps as CD
Contents
  1. Fine-grained package dependencies
  2. Constructing ComponentDeps
  3. Deconstructing ComponentDeps
Synopsis

Fine-grained package dependencies

datadata Component
Instances8Eq, Ord, Show, Generic, Binary, Pretty, …
newtypenewtype ComponentDeps a

Fine-grained dependencies for a package.

Typically used as ComponentDeps [Dependency], to represent the list of dependencies for each named component within a package.

Instances12Functor, Foldable, Traversable, Eq, Ord, Show, …

Constructing ComponentDeps

Deconstructing ComponentDeps

valuenonSetupDeps :: Monoid a => ComponentDeps a -> a

All dependencies except the setup dependencies.

Prior to the introduction of setup dependencies in version 1.24 this would have been _all_ dependencies.