Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Choice of Unicode or ASCII glyphs.
Synopsis
- data UnicodeOrAscii
- unsafeSetUnicodeOrAscii :: UnicodeOrAscii -> IO ()
- specialCharactersForGlyphs :: UnicodeOrAscii -> SpecialCharacters
- braces' :: Doc -> Doc
- dbraces :: Doc -> Doc
- forallQ :: Doc
- leftIdiomBrkt :: Doc
- rightIdiomBrkt :: Doc
- emptyIdiomBrkt :: Doc
- arrow :: Doc
- lambda :: Doc
- data SpecialCharacters = SpecialCharacters {
- _dbraces :: Doc -> Doc
- _lambda :: Doc
- _arrow :: Doc
- _forallQ :: Doc
- _leftIdiomBrkt :: Doc
- _rightIdiomBrkt :: Doc
- _emptyIdiomBrkt :: Doc
Documentation
data UnicodeOrAscii Source #
We want to know whether we are allowed to insert unicode characters or not.
Instances
unsafeSetUnicodeOrAscii :: UnicodeOrAscii -> IO () Source #
specialCharactersForGlyphs :: UnicodeOrAscii -> SpecialCharacters Source #
Return the glyph set based on a given (unicode or ascii) glyph mode
leftIdiomBrkt :: Doc Source #
rightIdiomBrkt :: Doc Source #
emptyIdiomBrkt :: Doc Source #
data SpecialCharacters Source #
Picking the appropriate set of special characters depending on whether we are allowed to use unicode or have to limit ourselves to ascii.
SpecialCharacters | |
|