HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulecabal-install-solver-3.18.1.0Haskell2010

Distribution.Solver.Modular.Index

Synopsis
typetype Index = Map PN (Map I PInfo)

An index contains information about package instances. This is a nested dictionary. Package names are mapped to instances, which in turn is mapped to info.

datadata PInfo

Info associated with a package instance. Currently, dependencies, component names, flags and failure reasons. The component map records whether any components are unbuildable in the current environment (compiler, os, arch, and global flag constraints). Packages that have a failure reason recorded for them are disabled globally, for reasons external to the solver. We currently use this for shadowing which essentially is a GHC limitation, and for installed packages that are broken.

newtypenewtype IsVisible

Whether a component is visible in the current environment.

Constructors

Instances2Eq, Show
  • Eq IsVisibleDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.Index
  • Show IsVisibleDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.Index
newtypenewtype IsBuildable

Whether a component is made unbuildable by a "buildable: False" field.

Constructors

Instances2Eq, Show
  • Eq IsBuildableDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.Index
  • Show IsBuildableDefined in cabal-install-solver-3.18.1.0 · Distribution.Solver.Modular.Index