Haskell: convert unicode integer to actual unicode character

Posted by Thor Thurn on Stack Overflow See other posts from Stack Overflow or by Thor Thurn
Published on 2010-03-28T11:33:05Z Indexed on 2010/03/28 12:23 UTC
Read the original article Hit count: 363

Filed under:

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 the corresponding character?

Example:

0x0123 to '{'.

© Stack Overflow or respective owner

Related posts about haskell