Copyright | (C) 2014-2015 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
- showbChar :: Char -> Builder
- showbLitChar :: Char -> Builder
- showbString :: String -> Builder
- showbLitString :: String -> Builder
- showbGeneralCategory :: GeneralCategory -> Builder
- asciiTabB :: Array Int Builder
- newtype LitChar = LitChar {
- getLitChar :: Char
- newtype LitString = LitString {}
Documentation
showbLitChar :: Char -> Builder Source
showbString :: String -> Builder Source
showbLitString :: String -> Builder Source
showbGeneralCategory :: GeneralCategory -> Builder Source
Convert a GeneralCategory
to a Builder
.
Since: 0.3
asciiTabB :: Array Int Builder Source
A table of ASCII control characters that needs to be escaped with a backslash.
Since: 0.5
The Text
Show
instance for LitChar
is like that of a regular Char
,
except it is not escaped by single quotes. That is,
showb (LitChar
c) =showbLitChar
c
Since: 0.5
The Text
Show
instance for LitString
is like that of a regular
String
, except it is not escaped by double quotes. That is,
showb (LitString
s) =showbLitString
s
Since: 0.5