[Haskell-cafe] Why does cabal select base- when base- is available?

Daniel Fischer daniel.is.fischer at web.de
Mon Apr 26 08:40:37 EDT 2010

Am Montag 26 April 2010 14:32:03 schrieb Bjorn Buckwalter:
> So what would be the fix, to set an upper bound on base? Is the
> general recommendation that all packages should specify upper bounds
> on all dependencies (if so why doesn't Cabal tell us?)?

Yes, that's the general recommendation. (upper and lower bounds)

> I can see that
> this would make some sense as a package might be broken by an API
> change in its dependencies.

Exactly. That's why bounds on the versions of the dependencies are a good 

> On the other hand I can also see it
> causing headaches occasionally...

Yes, but probably less headaches than packages eternally breaking because 
of API changes in the dependencies.

> Thanks,
> Bjorn

More information about the Haskell-Cafe mailing list