Dear ghc guru's,
Could somebody tell me how (==) :: Integer - Integer - Bool
is implemented in ghc? Is this done as
(==) a b = (==) (a - b) 0
or is this done by calling some C-function which compares two
integers?
The reason why I want to know is that I have a function which
does subtraction
Marc van Dongen= [EMAIL PROTECTED] writes:
Could somebody tell me how (==) :: Integer - Integer - Bool
is implemented in ghc? Is this done as
(==) a b = (==) (a - b) 0
or is this done by calling some C-function which compares two
integers?
It's done by calling mpz_cmp (from the GNU mp