On Sun, 2008-10-05 at 15:11 +0100, Claus Reinke wrote:
> Is it really always safe to combine packages that depend on one base
> with packages that depend on another? My guess is "no, but ghc will 
> catch any compatibility issues", so the cabal warning perhaps shouldn't 
> be dropped?

As far as I can see the answer is yes but I'd be interested to see a
counter-example.

> Either way, safe does not mean useable, eg, how does 
> one use such combinations within ghci?

> Prelude> :m +Data.Generics.Basics
> Could not find module `Data.Generics.Basics':
>   it was found in multiple packages: base-3.0.3.0 syb

> So it isn't just cabal that isn't quite prepared for multiple versions of a 
> single package coexisting.

This is a very good point.


Duncan

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to