cabal-install-solver-3.10.3.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Modular.Assignment

Synopsis

Documentation

data Assignment Source #

A (partial) assignment of variables.

type PAssignment = Map QPN I Source #

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

toCPs :: Assignment -> RevDepMap -> [CP QPN] Source #

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.