prettyprinter-1.6.2: A modern, easy to use, well-documented, extensible pretty-printer.

Safe HaskellSafe
LanguageHaskell2010

Data.Text.Prettyprint.Doc.Symbols.Unicode

Contents

Description

A collection of predefined Unicode values outside of ASCII range. For ASCII, see Data.Text.Prettyprint.Doc.Symbols.Ascii.

Synopsis

Quotes

Enclosing

d9966quotes :: Doc ann -> Doc ann Source #

Double „99-66“ quotes, as used in German typography.

>>> putDoc (d9966quotes "·")
„·“

d6699quotes :: Doc ann -> Doc ann Source #

Double “66-99” quotes, as used in English typography.

>>> putDoc (d6699quotes "·")
“·”

s96quotes :: Doc ann -> Doc ann Source #

Single ‚9-6‘ quotes, as used in German typography.

>>> putDoc (s96quotes "·")
‚·‘

s69quotes :: Doc ann -> Doc ann Source #

Single ‘6-9’ quotes, as used in English typography.

>>> putDoc (s69quotes "·")
‘·’

dGuillemetsOut :: Doc ann -> Doc ann Source #

Double «guillemets», pointing outwards (without adding any spacing).

>>> putDoc (dGuillemetsOut "·")
«·»

dGuillemetsIn :: Doc ann -> Doc ann Source #

Double »guillemets«, pointing inwards (without adding any spacing).

>>> putDoc (dGuillemetsIn "·")
»·«

sGuillemetsOut :: Doc ann -> Doc ann Source #

Single ‹guillemets›, pointing outwards (without adding any spacing).

>>> putDoc (sGuillemetsOut "·")
‹·›

sGuillemetsIn :: Doc ann -> Doc ann Source #

Single ›guillemets‹, pointing inwards (without adding any spacing).

>>> putDoc (sGuillemetsIn "·")
›·‹

Standalone

b99dquote :: Doc ann Source #

Bottom „99“ style double quotes.

>>> putDoc b99dquote

t66dquote :: Doc ann Source #

Top “66” style double quotes.

>>> putDoc t66dquote

t99dquote :: Doc ann Source #

Top “99” style double quotes.

>>> putDoc t99dquote

b9quote :: Doc ann Source #

Bottom ‚9‘ style single quote.

>>> putDoc b9quote

t6quote :: Doc ann Source #

Top ‘66’ style single quote.

>>> putDoc t6quote

t9quote :: Doc ann Source #

Top ‘9’ style single quote.

>>> putDoc t9quote

rdGuillemet :: Doc ann Source #

Right-pointing double guillemets

>>> putDoc rdGuillemet
»

ldGuillemet :: Doc ann Source #

Left-pointing double guillemets

>>> putDoc ldGuillemet
«

rsGuillemet :: Doc ann Source #

Right-pointing single guillemets

>>> putDoc rsGuillemet

lsGuillemet :: Doc ann Source #

Left-pointing single guillemets

>>> putDoc lsGuillemet

Various typographical symbols

bullet :: Doc ann Source #

>>> putDoc bullet

endash :: Doc ann Source #

>>> putDoc endash

Currencies

euro :: Doc ann Source #

>>> putDoc euro

cent :: Doc ann Source #

>>> putDoc cent
¢

yen :: Doc ann Source #

>>> putDoc yen
¥

pound :: Doc ann Source #

>>> putDoc pound
£