Suppose that my Haskell function is given an input, which is supposed to be the number of a unicode code point. How can one convert this to t开发者_开发知识库he corresponding character?
Example:
123 to '{'.
Use toEnum
. (Char
s implement the Enum
typeclass.)
精彩评论