[Haskell-cafe] version sorting?

Tom Ellis tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Sat Dec 8 08:23:34 UTC 2018


On Fri, Dec 07, 2018 at 05:47:44PM -0800, Javran Cheng wrote:
> I'm wondering if there's any existing packages that do "version sorting":
> as an example, for a list like:

There's this

    https://hackage.haskell.org/package/versions-3.5.0/docs/Data-Versions.html

and Versioning has an Ord instance.  I don't think it deals with the package
name though.  It should be easy to combine something simple with versioning'
though

    https://hackage.haskell.org/package/versions-3.5.0/docs/Data-Versions.html#v:versioning-39-


More information about the Haskell-Cafe mailing list