Skip to content
Snippets Groups Projects
Commit 06bab813 authored by Simon Peyton Jones's avatar Simon Peyton Jones
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
No related merge requests found
......@@ -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(..),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment