text-show-3.4.1.1: Efficient conversion of values into Text

Copyright(C) 2014-2016 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Text

Contents

Description

Monomorphic TextShow functions for Text types.

Since: 2

Synopsis

Documentation

showbText :: Text -> Builder Source #

Convert a strict Text to a Builder. showbText should not be confused with fromText, as showbText escapes certain characters (such as double quotes).

Since: 2

showbTextLazy :: Text -> Builder Source #

Convert a lazy Text to a Builder. showbTextLazy should not be confused with fromTextLazy, as showbTextLazy escapes certain characters (such as double quotes).

Since: 2

showbBuilder :: Builder -> Builder Source #

Show a Builder as if it were a String (i.e., escape certain characters, such as double quotes).

Since: 2

showbI16Prec :: Int -> I16 -> Builder Source #

Convert an I16 value to a Builder with the given precedence.

Since: 2

showbDecodingPrec :: Int -> Decoding -> Builder Source #

Convert a Decoding value to a Builder with the given precedence. This function is only available with text-1.0.0.0 or later.

Since: 2

showbSizePrec :: Int -> Size -> Builder Source #

Convert a Size value to a Builder with the given precedence. This function is only available with text-1.1.0.0 or later.

Since: 2

Orphan instances

TextShow Builder Source # 
TextShow Text Source # 
TextShow I16 Source # 
TextShow Decoding Source # 
TextShow Size Source # 
TextShow Text Source # 
TextShow UnicodeException Source #