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

Copyright(C) 2014-2015 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityExperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Text.Show.Text.Data.ByteString

Description

Monomorphic Show functions for data types in the bytestring library.

Since: 0.3

Synopsis

Documentation

showbByteStringStrict :: ByteString -> Builder Source

Convert a strict ByteString to a Builder.

Since: 0.3

showbByteStringLazy :: ByteString -> Builder Source

Convert a lazy ByteString to a Builder.

Since: 0.3

showbByteStringLazyPrec :: Int -> ByteString -> Builder Source

Convert a lazy ByteString to a Builder with the given precedence.

With bytestring-0.10.0.0 or later, this function ignores the precedence argument, since lazy ByteStrings are printed out identically to Strings. On earlier versions of bytestring, however, lazy ByteStrings can be printed with parentheses (e.g., Chunk "example" Empty vs. (Chunk "example" Empty)) depending on the precedence.

Since: 0.3

showbShortByteString :: ShortByteString -> Builder Source

Convert a ShortByteString to a Builder. This function is only available with bytestring-0.10.4.0 or later.

Since: 0.3