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.Char

Description

TextShow instances and monomorphic functions for Char and String.

Since: 2

Synopsis

Documentation

showbChar :: Char -> Builder Source #

Convert a Char to a Builder (surrounded by single quotes).

Since: 2

showbLitChar :: Char -> Builder Source #

Convert a Char to a Builder (without single quotes).

Since: 2

showbString :: String -> Builder Source #

Convert a String to a Builder (surrounded by double quotes).

Since: 2

showbLitString :: String -> Builder Source #

Convert a String to a Builder (without double quotes).

Since: 2

showbGeneralCategory :: GeneralCategory -> Builder Source #

Convert a GeneralCategory to a Builder.

Since: 2

asciiTabB :: Array Int Builder Source #

A table of ASCII control characters that needs to be escaped with a backslash.

Since: 2

Orphan instances

TextShow Char Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Char -> Builder Source #

showb :: Char -> Builder Source #

showbList :: [Char] -> Builder Source #

showtPrec :: Int -> Char -> Text Source #

showt :: Char -> Text Source #

showtList :: [Char] -> Text Source #

showtlPrec :: Int -> Char -> Text Source #

showtl :: Char -> Text Source #

showtlList :: [Char] -> Text Source #

TextShow GeneralCategory Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> GeneralCategory -> Builder Source #

showb :: GeneralCategory -> Builder Source #

showbList :: [GeneralCategory] -> Builder Source #

showtPrec :: Int -> GeneralCategory -> Text Source #

showt :: GeneralCategory -> Text Source #

showtList :: [GeneralCategory] -> Text Source #

showtlPrec :: Int -> GeneralCategory -> Text Source #

showtl :: GeneralCategory -> Text Source #

showtlList :: [GeneralCategory] -> Text Source #