Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/22d44600088aea4dc306b21d7f202bffcaf66a6f >--------------------------------------------------------------- commit 22d44600088aea4dc306b21d7f202bffcaf66a6f Author: Andres Loeh <[email protected]> Date: Sun Jun 5 12:42:13 2011 +0000 added a module for the interface to the new solver >--------------------------------------------------------------- .../Distribution/Client/Dependency/Modular.hs | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/cabal-install/Distribution/Client/Dependency/Modular.hs b/cabal-install/Distribution/Client/Dependency/Modular.hs new file mode 100644 index 0000000..e2a30fd --- /dev/null +++ b/cabal-install/Distribution/Client/Dependency/Modular.hs @@ -0,0 +1,18 @@ +module Distribution.Client.Dependency.Modular where + +-- Here, we try to map between the external cabal-install solver +-- interface and the internal interface that the solver actually +-- expects. There are a number of type conversions to perform: we +-- have to convert the package indices to the uniform index used +-- by the solver; we also have to convert the initial constraints; +-- and finally, we have to convert back the resulting install +-- plan. + +import Distribution.Client.Dependency.Types + +import Distribution.Client.Dependency.Modular.IndexConversion +import Distribution.Client.Dependency.Modular.Solver + +modularSolver :: DependencyResolver +modularSolver (Platform arch os) cid iidx sidx pprefs pcs pns = + undefined _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
