Copyright | (C) 2014-2017 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Provides a TextShow
instance for Version
and the showbVersion
function.
Since: 2
Synopsis
- showbVersion :: Version -> Builder
Documentation
showbVersion :: Version -> Builder Source #
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
.
Since: 3.6
Orphan instances
TextShow Version Source # | Since: 2 |
showbPrec :: Int -> Version -> Builder Source # showb :: Version -> Builder Source # showbList :: [Version] -> Builder Source # showtPrec :: Int -> Version -> Text Source # showt :: Version -> Text Source # showtList :: [Version] -> Text Source # showtlPrec :: Int -> Version -> Text Source # showtl :: Version -> Text Source # showtlList :: [Version] -> Text Source # |