cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Modular.Builder

Synopsis

Documentation

buildTree :: Index -> IndependentGoals -> [PN] -> Tree () QGoalReason Source #

Interface to the tree builder. Just takes an index and a list of package names, and computes the initial state and then the tree from there.

splits :: [a] -> [(a, [a])] Source #

Pairs each element of a list with the list resulting from removal of that element from the original list.