Text.PrettyPrint.Leijen
- Package
- purescript-optparse
- Repository
- f-o-a-m/purescript-optparse
#semiBraces Source
semiBraces :: Array Doc -> Doc
The document @(semiBraces xs)@ separates the documents @xs@ with
#appendWithSpace Source
appendWithSpace :: Doc -> Doc -> Doc
The document @(x <+> y)@ concatenates document @x@ and @y@ with a
#(<+>) Source
Operator alias for Text.PrettyPrint.Leijen.appendWithSpace (right-associative / precedence 6)
#appendWithSoftline Source
appendWithSoftline :: Doc -> Doc -> Doc
The document @(x </> y)@ concatenates document @x@ and @y@ with a
#(</>) Source
Operator alias for Text.PrettyPrint.Leijen.appendWithSoftline (right-associative / precedence 5)
#appendWithSoftbreak Source
appendWithSoftbreak :: Doc -> Doc -> Doc
The document @(x <//> y)@ concatenates document @x@ and @y@ with
#(<//>) Source
Operator alias for Text.PrettyPrint.Leijen.appendWithSoftbreak (right-associative / precedence 5)
#appendWithLine Source
appendWithLine :: Doc -> Doc -> Doc
The document @(x <$> y)@ concatenates document @x@ and @y@ with a
#(<$>) Source
Operator alias for Text.PrettyPrint.Leijen.appendWithLine (right-associative / precedence 5)
#appendWithLinebreak Source
appendWithLinebreak :: Doc -> Doc -> Doc
The document @(x <$$> y)@ concatenates document @x@ and @y@ with
#(<$$>) Source
Operator alias for Text.PrettyPrint.Leijen.appendWithLinebreak (right-associative / precedence 5)
#renderPretty Source
renderPretty :: Number -> Int -> Doc -> SimpleDoc
This is the default pretty printer which is used by 'show',
#renderSmart Source
renderSmart :: Number -> Int -> Doc -> SimpleDoc
A slightly smarter rendering algorithm with more lookahead. It provides abcdef, abcdef,
#renderCompact Source
renderCompact :: Doc -> SimpleDoc
@(renderCompact x)@ renders document @x@ without adding any
#indentation Source
indentation :: Int -> String
- Modules
- Options.
Applicative - Options.
Applicative. BashCompletion - Options.
Applicative. Builder - Options.
Applicative. Builder. Completer - Options.
Applicative. Builder. Internal - Options.
Applicative. Common - Options.
Applicative. Extra - Options.
Applicative. Help - Options.
Applicative. Help. Chunk - Options.
Applicative. Help. Core - Options.
Applicative. Help. Levenshtein - Options.
Applicative. Help. Pretty - Options.
Applicative. Help. Types - Options.
Applicative. Internal - Options.
Applicative. Internal. Utils - Options.
Applicative. Types - Text.
PrettyPrint. Leijen