You may want to look at the library function `toEnum'

toEnum :: (Enum a) => Int -> a

since Char is an Enum, the following code should work just fine:

> toEnum 70 :: Char
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to