[please use the following URL instead
     http://www.dcs.gla.ac.uk/fp/software/ghc/lib/hg-libs.html
 as it contains a more up-to-date version.
 -moderator]

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?  Documentation is at

  http://www.dcs.gla.ac.uk/fp/software/ghc/3.02/users_guide/libs.html

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 think this is the way we want to go *eventually*, but for Haskell 98
let's stick where we are.

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key


Reply via email to