Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我的 Haskell 函数有一个输入,它应该是一个 unicode 代码点的编号。如何将其转换为相应的字符?
例子:
123 到“{”。
使用toEnum. (Chars 实现Enum类型类。)
toEnum
Char
Enum