cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Modular.Assignment

Synopsis

Documentation

data Assignment Source #

A (partial) assignment of variables.

Instances

Instances details
Show Assignment Source # 
Instance details

Defined in Distribution.Solver.Modular.Assignment

Eq Assignment Source # 
Instance details

Defined in Distribution.Solver.Modular.Assignment

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.