[Haskell-cafe] Why does Haskell PVP have two values for the major version? "A.B..." and a couple other questions
tikhon at jelv.is
Tue Dec 16 01:53:21 UTC 2014
I think lens is a good example of a package that uses both major numbers
effectively. The second number is bumped each time there is a
backwards-incompatible change, and the first number is bumped each time
there is a *major* organizational change in the library. (It's up to 4 now.)
To me, this approach makes sense because not all breaking changes are the
same. Sometimes you just want to tweak a single call for whatever reason
(maybe security), and sometimes you want to reogranize the whole package,
move around major modules... etc. Putting both kinds of changes behind the
same version number seems a bit awkward.
On Mon, Dec 15, 2014 at 5:49 PM, Brandon Allbery <allbery.b at gmail.com>
> On Mon, Dec 15, 2014 at 8:42 PM, Zach Moazeni <zach.moazeni at gmail.com>
>> Forgive me if this is a frequently asked question, I've searched the web
>> and can't find an answer. I originally sent this to the Beginners list and
>> someone said this might get more responses here instead.
>> What is the history that led up to the PVP
>> specifying two values as the major version?
> One clue might be that that is how GHC itself is versioned.
> brandon s allbery kf8nh sine nomine
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe