
9 Sep
2009
9 Sep
'09
7:46 a.m.
People, I need to convert Char <-> Int in a possibly _standard_ way for Haskell -- and also in an efficient way. In particular, it must not spend 100 comparisons in a look through the listing of Char. I use ord :: Char -> Int and chr :: Int -> Char. Is this all right? Thank you in advance for advice, ----------------- Serge Mechveliani mechvel@botik.ru