
4 Jun
2007
4 Jun
'07
6:33 a.m.
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:Bulat.Ziganshin@gmail.com