How to obtain a char's ascii value in haskell? And how to turn an ascii value (65, let's say) into a char (A)? -


how accomplish in haskell?

hoogle friend:

http://haskell.org/hoogle/?hoogle=char+-%3e+int

import data.char    ord 'a' chr 98 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -