Re: Hackage: "Build: PlanningFailed"

Brandon Allbery <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <CAKFCL4XUygdFKnvQ_yfoWDF9Kggeh50XgL=gt6JJ=pMp2xA2vA@mail.gmail.com>
On Sun, Mar 31, 2024 at 6:51 AM Volker Wysk <[email protected]> wrote:

> Why aren't all the base package versions available? I thought this was one
> of the purposes of the Cabal system...
>
> And wouldn't it be better to remove the upper bound entirely?
>

`base` is special, since it's tightly linked to the compiler (the compiler
hardcodes the addresses of key data types and values, such as `Bool` and
specifically `True` so it can compile guards). As such, it is impossible to
pick a different version of `base` for use with a given compiler version.

Removing the upper bound has the opposite problem: if `base` changes enough
(say, a wholesale change from `String` to `Text`, not that that seems
likely to happen in the near term) you will be claiming that your code is
compatible with it.

-- 
brandon s allbery kf8nh
[email protected]

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.