qualified imports, PVP and so on

Michael Snoyman michael at snoyman.com
Wed Feb 26 13:15:46 UTC 2014


On Wed, Feb 26, 2014 at 2:25 PM, Herbert Valerio Riedel <hvr at gnu.org> wrote:

> On 2014-02-26 at 13:09:37 +0100, Michael Snoyman wrote:
>
> [...]
>
> > +1. If we're discussing PVP changes, the other one I'd like to propose
> is:
> >
> > Don't include upper bounds on base, template-haskell, or other libraries
> > which cannot be upgraded, unless you know with certainty that your
> package
> > will not compile with those other versions. Motivation:
> >
> > * The bounds will never help cabal choose a better build plan.
>
> ...this assumes (as I mentioned in an earlier post) that GHC is never
> going to ship again with two versions of base (like in the past with
> base3/4). For that case, we'd want at least something like `base < 5` as
> upper bound in place (with the policy that `5.*` will only ever be
> reached if something really disruptive is done to `base`)
>
>
You're right, that should be included. A further reason would be that
Hackage demand an upper bound on base anyway, and it seems a pretty
accepted practice to use < 5. If this was standardized in the PVP, I think
we'd be better off.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140226/d4cf7713/attachment.html>


More information about the Libraries mailing list