10 Sep 2001 13:20:33 -0600, Alastair David Reid <[EMAIL PROTECTED]> pisze:

> So GHC's Int/Word implementation is different from Hugs'?  Hugs
> represents Word8 (say) by a 32 bit int but doesn't guarantee that the
> top 24 bits are all zero.

GHC does similarly, except that it does guarantee that unused bits
are zero. Or one - in negative numbers. In other words it represents
value x of type Int8 as if converted to Int.

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZAST�PCZA
QRCZAK


_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to