mapping module identifiers to URLs (was RE: [Haskell] URLs in haskellmodule namespace)

Ross Paterson ross at soi.city.ac.uk
Wed Mar 30 10:26:57 EST 2005


[switching to libraries]

On Wed, Mar 30, 2005 at 12:02:30PM +0100, Simon Marlow wrote:
> I don't think it's necessary to specify dependencies with module
> granularity.  This just increases the number of possible error cases,
> without adding functionality.  If you want to specify which module
> imports require each package dependency, then do it with a comment.  The
> tools can tell you if any dependencies are redundant.
> 
> Suppose that:
> 
>    - Package dependencies in Build-Depends could be specified using
>      URLs.

That would also be redundant.  Better to keep using package names in
dependencies, and have a catalogue mapping package names to URLs,
either in a local file or a remote database (i.e. Hackage).

>    - Cabal could download, build, and install dependencies without any
>      user intervention.

And this is also on the way, I hear.


More information about the Libraries mailing list