HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecabal-install-solver-3.12.1.0Haskell2010

Distribution.Solver.Modular.Assignment

  • 4 types
  • 1 value
typetype PAssignment = Map QPN I
#

A (partial) package assignment. Qualified package names are associated with instances.

valuetoCPs :: Assignment -> RevDepMap -> [CP QPN]
#

Delivers an ordered list of fully configured packages.

TODO: This function is (sort of) ok. However, there's an open bug w.r.t. unqualification. There might be several different instances of one package version chosen by the solver, which will lead to clashes.