KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to convert a Char to an Int in Haskell? For example: a = '\x2' -- a == 2 -- type of a should be Char b = charToInt a -- b == 2 -- type of b should be Int How can I achieve this?
Tags (comma-separated)
Save Edits
Cancel