extra-1.6.11: Extra functions I use.

Safe HaskellSafe
LanguageHaskell2010

Data.Version.Extra

Description

This module extends Data.Version with extra utilities. The package also exports the existing Data.Version functions.

Synopsis

Documentation

makeVersion :: [Int] -> Version #

Construct tag-less Version

Since: base-4.8.0.0

readVersion :: Partial => String -> Version Source #

Read a Version or throw an exception.

\x -> readVersion (showVersion x) == x
readVersion "hello" == undefined