[Haskell-cafe] Rewriting char
Hi Any advice on writing intToChar? I'm not looking for the code; only sound advice on writing the function in good FP style. Thanks, Paul ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Rewriting char
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 Haskell-Cafe@haskell.org