versions

Types and parsers for software version numbers.

Version on this page:1.1.0
LTS Haskell 22.17:6.0.6
Stackage Nightly 2024-04-18:6.0.6
Latest on Hackage:6.0.6

See all snapshots versions appears in

BSD-3-Clause licensed by Colin Woodbury
Maintained by [email protected]
This version can be pinned in stack with:versions-1.1.0@sha256:32f3a228727577a0f0b5bf5aa7f0aa1e4c01a14f69b6c8a58053be8695b0bed2,2339

Module documentation for 1.1.0

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.

Changes

Changelog

1.1.0

  • Added Lenses and Traversals (no lens dependency)