On Mon, Mar 18, 2013 at 12:34:16PM +0000, Duncan Coutts wrote: > > Then you can have ghc-pkg depend on Cabal and use that for the > human-readable bits, but since that's a program then it doesn't expose > the Cabal lib dependency. Then ghc (and hence the ghc lib) would not > depend on Cabal, but it would need a copy of the InstalledPackageInfo > type and the other types that it uses.
Right, exactly. But we don't want to have 2 copies of the types, so could we move them into a Cabal-datatypes package which can be shared by both Cabal and GHC please? Thanks Ian _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel