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

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Apr 26 08:07:00 EDT 2010

Bjorn Buckwalter <bjorn.buckwalter at gmail.com> writes:

> On Mon, Apr 26, 2010 at 19:38, Ivan Lazar Miljenovic
> <ivan.miljenovic at gmail.com> wrote:
>> Bjorn Buckwalter <bjorn.buckwalter at gmail.com> writes:
>>> Why does cabal seem to prefer base- over base- when
>>> installing packages with an unqualified base requirement? Example:
>> [snip]
>> The reason that base-3 is chosen is because many of these old
>> libraries won't build with base-4; as such, if no upper bound
>> restriction is found on the base package then base-3 is chosen as it
>> is more likely to work than base-4 (there were a _lot_ of breakages
>> when base-4 first came out with 6.10.1).
> I see, I guess that's pragmatic although the deprecation warning is
> unfortunate.

The deprecation warning is due to GHC 6.12; this is a not-so-subtle hint
to package maintainers to fix their code up, and to users to poke the
maintainers of packages they use to do so!

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list