Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Version.Extra
Description
This module extends Data.Version with extra utilities. The package also exports the existing Data.Version functions.
Synopsis
- readVersion :: Partial => String -> Version
Documentation
readVersion :: Partial => String -> Version #
Read a Version
or throw an exception.
\x -> readVersion (showVersion x) == x readVersion "hello" == undefined