The versions package
A library for parsing and comparing software version numbers.
We like to give version numbers to our software in a myriad of ways. Some ways follow strict guidelines for incrementing and comparison. Some follow conventional wisdom and are generally self-consistent. Some are just plain asinine. This library provides a means of parsing and comparing any style of versioning, be it a nice Semantic Version like this:
...or a monstrosity like this:
Please switch to Semantic Versioning if you aren't currently using it. It provides consistency in version incrementing and has the best constraints on comparisons.
[Skip to Readme]
|Versions||1.0.0, 1.0.1, 1.0.2, 1.1.0, 2.0.0, 3.0.0|
|Dependencies||base (>=4.8 && <4.10), megaparsec (==5.*), semigroups (>=0.16.2.2), text (==1.2.*) [details]|
|Source repository||head: git clone git://github.com/fosskers/haskell-versions.git|
|Uploaded||Tue Jun 7 04:11:12 UTC 2016 by fosskers|
|Distributions||LTSHaskell:3.0.0, NixOS:3.0.0, Stackage:3.0.0, Tumbleweed:3.0.0|
|Downloads||300 total (12 in the last 30 days)|
|Status||Docs available [build log]
Last success reported on 2016-06-07 [all 1 reports]
For package maintainers and hackage trustees