| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CharQq
Synopsis
- ord :: QuasiQuoter
- ords :: QuasiQuoter
- chr :: QuasiQuoter
Documentation
ord :: QuasiQuoter Source #
A quasi-quoter which produces a unicode codepoint integer literal of a char. E.g.,
>>>[CharQq.ord|Z|]90
Works in the context of expressions and patterns.
ords :: QuasiQuoter Source #
A quasi-quoter which produces a list of unicode codepoint integer literals of a sequence of chars. E.g.,
>>>[CharQq.ords|абв|][1072,1073,1074]
Works in the context of expressions and patterns.
chr :: QuasiQuoter Source #
A quasi-quoter which produces a char literal from a codepoint. E.g.,
>>>[CharQq.chr|90|]'Z'
Works in the context of expressions and patterns.