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

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to