text-show-3.8.5: Efficient conversion of values into Text
Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Version

Description

Provides a TextShow instance for Version and the showbVersion function.

Since: 2

Synopsis

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

Instance details

Methods

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 #