Commit 06bab813 authored by simonpj's avatar simonpj
Browse files

[project @ 1999-08-30 09:16:47 by simonpj]

Num( fromInt ) and Integral( toInt ) are not Haskell 98, and so they
should be exposed only by GlaExts, not by Prelude.
parent 6263d5e2
......@@ -43,9 +43,11 @@ module Prelude (
Ord(..),
Enum(..),
Bounded(..),
Num((+), (-), (*), negate, abs, signum, fromInteger, fromInt{-glaExt-}),
Num((+), (-), (*), negate, abs, signum, fromInteger),
-- The fromInt method is exposed only by GlaExts
Real(..),
Integral(quot, rem, div, mod, quotRem, divMod, toInteger, toInt{-partain-}),
Integral(quot, rem, div, mod, quotRem, divMod, toInteger),
-- The toInt method is exposed only by GlaExts
Fractional(..),
Floating(..),
RealFrac(..),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment