Proposal: Changes to the PVP

Henning Thielemann schlepptop at henning-thielemann.de
Sun Apr 27 10:21:36 UTC 2014


Am 09.04.2014 21:55, schrieb Johan Tibell:
> On Wed, Apr 9, 2014 at 9:22 PM, Michael Snoyman <michael at snoyman.com
> <mailto:michael at snoyman.com>> wrote:
>
>     So forget my proposal for the moment, I want to engage in a thought
>     experiment. What does the current PVP say about the following scenarios:
>
>     1. A user is writing an application based on a number of Hackage
>     libraries. He places version bounds following the PVP, e.g. `text >=
>     1.0 && < 1.1, aeson >= 0.7 && < 0.8`.
>          a. Has he done a good enough job of writing his application?
>
>
> That's a kinda vague question. :) Has he made sure that his package will
> continue to build if there are backwards incompatible changes in text or
> aeson? Yes.

With these version bounds he do not need to expect incompatible changes 
in "text" or "aeson", he must only be prepared for additions, i.e. he 
must import explicitly or with qualification.



More information about the Libraries mailing list