Isaac Dupree wrote:
Stefan O'Rear wrote:
Another possibility that occured to me recently, is to switch Integer
to a simpler (perhaps even pure-Haskell) representation, and provide
(core?  extra?  Hackage?) a hsgmp package.  If you have big numbers,
switching is easy:

import Prelude hiding(Integer)
import Data.Integer.GMP
type Integer = MPZ

except that

you also need to add "default (Integer, Double)" or similar.

and Int is rather machine-dependent and "could" be implemented in Haskell, too. I definitely don't want programs using Int instead of Integer just because of Int being more standard and consistent.

Isaac
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to