text-show-instances-3.2.1: Additional instances for text-show

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

TextShow.Text.PrettyPrint

Description

Monomorphic TextShow functions for data types in the pretty library.

Since: 2

Synopsis

Documentation

renderB :: Doc -> Builder Source

Renders a Doc to a Builder using the default style.

Since: 2

renderStyleB :: Style -> Doc -> Builder Source

Renders a Doc to a Builder using the given Style.

Since: 2

showbMode :: Mode -> Builder Source

Convert a Mode to a Builder.

Since: 2

showbStylePrec :: Int -> Style -> Builder Source

Convert a Style to a Builder with the given precedence.

Since: 2

showbTextDetailsPrec :: Int -> TextDetails -> Builder Source

Convert TextDetails to a Builder with the given precedence.

Since: 2

showbPrettyLevelPrec :: Int -> PrettyLevel -> Builder Source

Convert a PrettyLevel value to a Builder with the given precedence. This function is only available with pretty-1.1.2.0 or later.

Since: 2