[project @ 1999-09-12 15:02:43 by sof]
authorsof <unknown>
Sun, 12 Sep 1999 15:02:43 +0000 (15:02 +0000)
committersof <unknown>
Sun, 12 Sep 1999 15:02:43 +0000 (15:02 +0000)
Export toInt and fromInt from Int as well as from the (now uncool) rag-bag
that is GlaExts, since Hugs supports them too.

ghc/lib/exts/Int.lhs

index 894386d..995c03b 100644 (file)
@@ -95,6 +95,9 @@ module Int
        , writeInt64OffForeignObj
 #endif
        
+       -- The non-standard fromInt and toInt methods
+       , Num( fromInt ), Integral( toInt )
+
        -- non-standard, GHC specific
        , intToWord