> >         chr :: Int -> Char
> >         chr (I# i) | i >=# 0# && i <=# 255# = C# (chr# i)
> >                    | otherwise = error ("Prelude.chr: bad argument")
> 
> So a Haskell program that (perhaps inadvertently) uses a 
> Unicode character
> will fail with ghc.

Our Char type is currently only 8 bits.  There's been some discussion on the
ghc-users list about changing it to 32 bits, which with any luck will happen
sometime before the next release.

> When is ghc going to implement full Haskell? :)

when is hbc going to reach version 1.0 ? :)

Cheers,
        Simon

Reply via email to