Reputation: 105077
How to accomplish that in Haskell?
Upvotes: 5
Views: 5602
Reputation: 2299
Hoogle is your friend:
http://haskell.org/hoogle/?hoogle=Char+-%3E+Int
import Data.Char ord 'a' chr 98
Upvotes: 14