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
- Re: Primitive types and Prelude shenanigans William Lee Irwin III
- RE: Primitive types and Prelude shenanigans Simon Peyton-Jones
- Re: Primitive types and Prelude shenanigans Marcin 'Qrczak' Kowalczyk
- Re: Primitive types and Prelude shenanigans Dylan Thurston
- Re: Primitive types and Prelude shenanigans Marcin 'Qrczak' Kowalczyk
- Re: Primitive types and Prelude shenanigans William Lee Irwin III
- RE: Primitive types and Prelude shenanigans Simon Peyton-Jones
- Re: Primitive types and Prelude shenanigans Marcin 'Qrczak' Kowalczyk
- Re: Primitive types and Prelude shenanigans Ketil Malde
- Re: Primitive types and Prelude shenanigans Fergus Henderson
- Re: Primitive types and Prelude shenanigans Marcin 'Qrczak' Kowalczyk
- Re: Primitive types and Prelude shenanigans Fergus Henderson
- RE: Primitive types and Prelude shenanigans Simon Peyton-Jones
- Re: Primitive types and Prelude shenanigans Marcin 'Qrczak' Kowalczyk
- Re: Primitive types and Prelude shenanigans Dylan Thurston