Hello Duncan,

Monday, June 4, 2007, 2:25:10 PM, you wrote:

>>  - the chr function tests that its Int argument is less than 1114111,
>>    before constructing the Char. It'd be nice to avoid this test.

use unsafeChr or, for portability, smth like this:

#ifdef GHC
import GHC.Exts (unsafeChr)
#else
unsafeChr = chr
#endif


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to