Skip to content

6.0.2.

Compare
Choose a tag to compare
@fosskers fosskers released this 12 Oct 09:01
· 26 commits to master since this release

Added

  • Lift instances for the various types, which allows parsing version numbers
    at compile time within Template Haskell quotes. Currently there is no exported
    function that supports this directly, but you could write one like:
-- | Parse a `Versioning` at compile time.
thVer :: Text -> Q Exp
thVer nm =
  case versioning nm of
    Left err -> fail (errorBundlePretty err)
    Right v  -> lift v

Changed

  • Due to the new dependency on template-haskell, GHC 8.8 is now the lowest
    supported compiler version.