{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
#include "version-compatibility-macros.h"
module Prettyprinter.Symbols.Ascii where
import Prettyprinter.Internal
squotes :: Doc ann -> Doc ann
squotes = enclose squote squote
dquotes :: Doc ann -> Doc ann
dquotes = enclose dquote dquote
parens :: Doc ann -> Doc ann
parens = enclose lparen rparen
angles :: Doc ann -> Doc ann
angles = enclose langle rangle
brackets :: Doc ann -> Doc ann
brackets = enclose lbracket rbracket
braces :: Doc ann -> Doc ann
braces = enclose lbrace rbrace
squote :: Doc ann
squote = Char '\''
dquote :: Doc ann
dquote = Char '"'
lparen :: Doc ann
lparen = Char '('
rparen :: Doc ann
rparen = Char ')'
langle :: Doc ann
langle = Char '<'
rangle :: Doc ann
rangle = Char '>'
lbracket :: Doc ann
lbracket = Char '['
rbracket :: Doc ann
rbracket = Char ']'
lbrace :: Doc ann
lbrace = Char '{'
rbrace :: Doc ann
rbrace = Char '}'
semi :: Doc ann
semi = Char ';'
colon :: Doc ann
colon = Char ':'
comma :: Doc ann
comma = Char ','
space :: Doc ann
space = Char ' '
dot :: Doc ann
dot = Char '.'
slash :: Doc ann
slash = Char '/'
backslash :: Doc ann
backslash = "\\"
equals :: Doc ann
equals = Char '='
pipe :: Doc ann
pipe = Char '|'