At 15:47 +0100 98/10/07, Simon Marlow wrote:
>On the subject of Int vs. Integer, have folk actually looked at the
>GHC/Hugs libraries for fixed-size integers and words, namely Int and
>Word respectively?
...
>If Int were to disappear, most people could just 'import Int' and
>replace Int with Int32 everywhere in their programs.  The libraries
>provide types Int{8,16,32,64} and Word{8,16,32,64}, instances of all
>the integer numeric classes and a full range of bit operations.  (The
>library interface is due to Alastair Reid).

  I looked brifely at this a long time ago, which was part of the reason I
suggested that all those should be replaced by a single type Binary, if
possible.

  Hans Aberg
                  * Email: Hans Aberg <mailto:[EMAIL PROTECTED]>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>



Reply via email to