WARNING: package dependencies

Simon Marlow simonmar at microsoft.com
Tue May 10 06:15:44 EDT 2005

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? :-)


More information about the Libraries mailing list