Wed, 21 Feb 2001 12:55:37 +1100, Fergus Henderson <[EMAIL PROTECTED]> pisze:

> The documentation in the Haskell report does not say what
> `fromInteger' should do for `Int', but the Hugs behaviour definitely
> seems preferable, IMHO.

Sometimes yes. But for playing with Word8, Int8, CChar etc. it's
sometimes needed to just cast bits without overflow checking, to
convert between "signed bytes" and "unsigned bytes".

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


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

Reply via email to