Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Common symbols composed out of the ASCII subset of Unicode. For non-ASCII symbols, see Data.Text.Prettyprint.Doc.Symbols.Unicode.
Synopsis
- squotes :: Doc ann -> Doc ann
- dquotes :: Doc ann -> Doc ann
- parens :: Doc ann -> Doc ann
- angles :: Doc ann -> Doc ann
- brackets :: Doc ann -> Doc ann
- braces :: Doc ann -> Doc ann
- squote :: Doc ann
- dquote :: Doc ann
- lparen :: Doc ann
- rparen :: Doc ann
- langle :: Doc ann
- rangle :: Doc ann
- lbracket :: Doc ann
- rbracket :: Doc ann
- lbrace :: Doc ann
- rbrace :: Doc ann
- semi :: Doc ann
- colon :: Doc ann
- comma :: Doc ann
- space :: Doc ann
- dot :: Doc ann
- slash :: Doc ann
- backslash :: Doc ann
- equals :: Doc ann
- pipe :: Doc ann
Documentation
(Definitions for the doctests)
>>>
:set -XOverloadedStrings
>>>
import Data.Semigroup
>>>
import Data.Text.Prettyprint.Doc.Render.Text
>>>
import Data.Text.Prettyprint.Doc.Util