RE: irrelevant package

2005-06-15 Thread Simon Marlow
On 15 June 2005 15:19, Duncan Coutts wrote: > On Wed, 2005-06-15 at 14:47 +0100, Simon Marlow wrote: >> On 15 June 2005 13:49, Duncan Coutts wrote: >> >>> I think the bug in this case is the fact that the modules are >>> considered to be part your program even though they are never >>> imported (

RE: irrelevant package

2005-06-15 Thread Duncan Coutts
On Wed, 2005-06-15 at 14:47 +0100, Simon Marlow wrote: > On 15 June 2005 13:49, Duncan Coutts wrote: > > > I think the bug in this case is the fact that the modules are > > considered to be part your program even though they are never > > imported (directly or indirectly) or even any modules from

RE: irrelevant package

2005-06-15 Thread Simon Marlow
On 15 June 2005 13:49, Duncan Coutts wrote: > I think the bug in this case is the fact that the modules are > considered to be part your program even though they are never > imported (directly or indirectly) or even any modules from the same > package are imported (if we take the reasonable assump

RE: irrelevant package

2005-06-15 Thread Duncan Coutts
On Wed, 2005-06-15 at 13:15 +0100, Simon Marlow wrote: > > But remember that any exposed dependent package of P effectively > > exposes package P anyway. So it's not the case that you can install > > an unexposed package and assume that it'll all be ok. Any package > > installed later can come alo

RE: irrelevant package

2005-06-15 Thread Simon Marlow
On 14 June 2005 13:03, Duncan Coutts wrote: > On Mon, 2005-06-13 at 16:06 +0100, Simon Marlow wrote: >> This is "fixed" in newer versions of Cabal. >> >> However, you are heading for problems here. When you install a >> package P that includes a module M, you prevent the user from having >> any

RE: irrelevant package

2005-06-14 Thread Duncan Coutts
On Mon, 2005-06-13 at 16:06 +0100, Simon Marlow wrote: > This is "fixed" in newer versions of Cabal. > > However, you are heading for problems here. When you install a package > P that includes a module M, you prevent the user from having any modules > called M unless they say '-hide-package P' (

RE: irrelevant package

2005-06-13 Thread Simon Marlow
On 13 June 2005 14:34, Serge D. Mechveliani wrote: > I am testing packages in ghc-6.4. > I set > docon.cabal, > > which declares dependence on `data': build-depends: data > The attempt to build docon by > > cd $doconSource > runhaskell Setup.hs configure --ghc --prefix=$doconS