Copyright | (C) 2014-2015 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
Monomorphic Show
functions for data types in the pretty
library.
Since: 0.1
- showbDoc :: Doc -> Builder
- renderStyleB :: Style -> Doc -> Builder
- showbMode :: Mode -> Builder
- showbStylePrec :: Int -> Style -> Builder
- showbTextDetailsPrec :: Int -> TextDetails -> Builder
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
showbStylePrec :: Int -> Style -> Builder Source
showbTextDetailsPrec :: Int -> TextDetails -> Builder Source
Convert TextDetails
to a Builder
with the given precedence.
Since: 0.1