| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CabalHelper.Compiletime.Compat.Version
Synopsis
- type DataVersion = Version
- toDataVersion :: Version -> Version
- fromDataVersion :: Version -> Version
- showVersion :: Version -> String
- makeDataVersion :: [Int] -> Version
Documentation
type DataVersion = Version Source #
toDataVersion :: Version -> Version Source #
fromDataVersion :: Version -> Version Source #
showVersion :: Version -> String #
Provides one possible concrete representation for Version. For
a version with versionBranch = [1,2,3] and versionTags
= ["tag1","tag2"], the output will be 1.2.3-tag1-tag2.
makeDataVersion :: [Int] -> Version Source #