Bug in experimental Unicode support for Hugs?

Graham Klyne <[email protected]>
Newsgroups gmane.comp.lang.haskell.general,gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.