text-show-instances-0.2: Additional instances for text-show

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

Text.Show.Text.Text.PrettyPrint

Description

Monomorphic Show functions for data types in the pretty library.

Since: 0.1

Synopsis

Documentation

showbDoc :: Doc -> Builder Source

Convert a Doc to a Builder. This is analogous to render from Text.PrettyPrint.HughesPJ, which renders a Doc using the default style.

Since: 0.1

renderStyleB :: Style -> Doc -> Builder Source

Renders a Doc to a Builder using the given Style.

Since: 0.2

showbMode :: Mode -> Builder Source

Convert a Mode to a Builder.

Since: 0.1

showbStylePrec :: Int -> Style -> Builder Source

Convert a Style to a Builder with the given precedence.

Since: 0.1

showbTextDetailsPrec :: Int -> TextDetails -> Builder Source

Convert TextDetails to a Builder with the given precedence.

Since: 0.1