cabal-install-solver-3.8.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellNone
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.