[Haskell] Bug in experimental Unicode support for Hugs?

Graham Klyne gk at ninebynine.org
Fri May 28 08:20:32 EDT 2004


I've noticed a discrepancy in by version of Hugs with experimental Unicode 
support enabled, based on the 20040109 codebase.  It's exemplified by this:

[[
Main> '\x10ffff'
'\1114111'
Main> maxBound::Char
'\255'
Main>
]]

It appears that this value is hardcoded in Hugs/Prelude.hs, rather than 
obtained from the runtime environment in some way.

#g


------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Haskell mailing list