versions: Types and parsers for software version numbers.

[ bsd3, data, library ] [ Propose Tags ]

A library for parsing and comparing software version numbers.

We like to give version numbers to our software in a myriad of different 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:

1.2.3-r1+git123

...or a monstrosity like this:

2:10.2+0.0093r3+1-1

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.

Versions [faq] 1.0.0, 1.0.1, 1.0.2, 1.1.0, 2.0.0, 3.0.0, 3.0.1, 3.0.1.1, 3.0.2, 3.0.2.1, 3.1.0, 3.1.0.1, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.4.0, 3.4.0.1, 3.5.0, 3.5.1, 3.5.1.1 (info)
Dependencies base (==4.8.*), parsec (==3.1.*), semigroups (>=0.16.2.2), text (==1.2.*) [details]
License BSD-3-Clause
Author Colin Woodbury
Maintainer colingw@gmail.com
Category Data
Source repo head: git clone git://github.com/fosskers/haskell-versions.git
Uploaded by fosskers at Fri Nov 13 06:22:30 UTC 2015
Distributions LTSHaskell:3.5.1, NixOS:3.5.1.1, Stackage:3.5.1
Downloads 7828 total (384 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-11-14 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees