RE: WARNING: package dependencies

On 10 May 2005 11:11, Daan Leijen wrote:
Simon Marlow wrote:
1. Package builders should be careful about dependencies. Don't depend on any non-hierarchical packages from an exposed package. Daan - can you fix wxHaskell?
Yes, I probably can -- I guess it is time to move forward and forget about compatability with older ghc's (< 6.2.2)
However, I don't really understand what is wrong and what to fix :-) (should I remove -package util and qualify explicitly in the code?)
I can probably figure it out from the docs but maybe it would help if someone could add some "simple guidelines for package writers" documentation that would tell concretely what is good practice (and what is bad practice).
Depending on any hslibs package is bad practice. Ok? :-) Cheers, Simon

Simon Marlow wrote:
On 10 May 2005 11:11, Daan Leijen wrote:
Simon Marlow wrote:
1. Package builders should be careful about dependencies. Don't depend on any non-hierarchical packages from an exposed package. Daan - can you fix wxHaskell?
Yes, I probably can -- I guess it is time to move forward and forget about compatability with older ghc's (< 6.2.2)
However, I don't really understand what is wrong and what to fix :-) (should I remove -package util and qualify explicitly in the code?)
I can probably figure it out from the docs but maybe it would help if someone could add some "simple guidelines for package writers" documentation that would tell concretely what is good practice (and what is bad practice).
Depending on any hslibs package is bad practice. Ok? :-)
Ah, I see now that "util" is no longer part of the documented standard packages. Ok. That is really easy to fix. Thanks, -- Daan.
Cheers, Simon _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
participants (2)
-
Daan Leijen
-
Simon Marlow