logoalt Hacker News

qrobittoday at 11:37 AM3 repliesview on HN

Hackage recommends using Haskell's PVP[^1], but does not enforce it. That's why many haskell packages are a four-places versions: 3 required and fourth optional (but popular) that represents "other" changes, like documentation.

[^1]: https://pvp.haskell.org/


Replies

whateveraccttoday at 1:15 PM

Also, iirc PVP pre-dates SemVer. For anyone going to accuse Haskell of NIH :)

Remember, everyone: Haskell is very old!

Y-bartoday at 11:43 AM

> A.B is known as the major version number

Why are they requiring two numbers to represent one (semantic) number?

show 2 replies
philipwhiuktoday at 1:15 PM

> MAY optionally have *any* number of additional components, for example 2.1.0.4

Thus making the silly example possible.