At 16:13 -0500 97/10/28, Alastair Reid wrote:
>Once again, I refer people to the documentation for the shared Hugs-GHC
>libraries.
>
> ftp://haskell.org/pub/reid/libs971028/libs.html
>
>As well as all the usual mutable stuff, these libraries provide the following
> types:
>
>   Int8, Int16, Int32, Int64      -- signed arithmetic modulo 2^{8,16,32,64}
>   Word8, Word16, Word32, Word64  -- unsigned arithmetic modulo 2^{8,16,32,64}
>
>and a Bits library providing and, or, shift, etc on all these types.

  Well, my idea is that all those types shouldsomehow be unified by a
single, parametrized type, which allows any bit length (not just 2^n), and
allowing signed/unsigned operations to be mixed without type conversion.

  Hans Aberg
                  * Email: Hans Aberg <mailto:[EMAIL PROTECTED]>
                  * AMS member listing: <http://www.ams.org/cml/>




Reply via email to