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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Prettyprinter.Symbols.Unicode

Contents

- Quotes
  - Enclosing
  - Standalone
- Various typographical symbols
- Currencies

Description

A collection of predefined Unicode values outside of ASCII range. For ASCII, see Prettyprinter.Symbols.Ascii.

Synopsis

- d9966quotes :: Doc ann -> Doc ann
- d6699quotes :: Doc ann -> Doc ann
- s96quotes :: Doc ann -> Doc ann
- s69quotes :: Doc ann -> Doc ann
- dGuillemetsOut :: Doc ann -> Doc ann
- dGuillemetsIn :: Doc ann -> Doc ann
- sGuillemetsOut :: Doc ann -> Doc ann
- sGuillemetsIn :: Doc ann -> Doc ann
- b99dquote :: Doc ann
- t66dquote :: Doc ann
- t99dquote :: Doc ann
- b9quote :: Doc ann
- t6quote :: Doc ann
- t9quote :: Doc ann
- rdGuillemet :: Doc ann
- ldGuillemet :: Doc ann
- rsGuillemet :: Doc ann
- lsGuillemet :: Doc ann
- bullet :: Doc ann
- endash :: Doc ann
- euro :: Doc ann
- cent :: Doc ann
- yen :: Doc ann
- pound :: Doc ann

# 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
    £