A quick question: what is the intended behaviour of the
Hugs/ghc extension types Int8, Int16, Int32, and Int64
with regard to overflow?  The documentation for the Word*
types says that they compute modulo arithmetic, but there
is no similar guarantee for the Int* types.  Is it the
intention that their behaviour on overflow is deliberately
left undefined?  Or is it safe to rely on them just wrapping
on overflow?

Either way, I think it would be a good idea to clarify this
in the Hugs/GHC Extension libraries documentation.

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to