char-qq-0.1.1.1: Quasiquoters for characters and codepoints

CharQq

Synopsis

Documentation

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.

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.

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.