[commit: integer-gmp] master: No need to export Integer from GHC.Integer.GMP.Internals (d8f636e)
Ian Lynagh
igloo at earth.li
Sat Jul 30 22:28:05 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/integer-gmp
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d8f636ec19a21cc4c22a8d1b45217436838aeebb
>---------------------------------------------------------------
commit d8f636ec19a21cc4c22a8d1b45217436838aeebb
Author: Ian Lynagh <igloo at earth.li>
Date: Sat Jul 30 19:42:15 2011 +0100
No need to export Integer from GHC.Integer.GMP.Internals
This caused an odd dependency in the module hierarchy.
>---------------------------------------------------------------
GHC/Integer.lhs | 4 ++--
GHC/Integer/GMP/Internals.hs | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/GHC/Integer.lhs b/GHC/Integer.lhs
index 290b27a..626ae12 100644
--- a/GHC/Integer.lhs
+++ b/GHC/Integer.lhs
@@ -60,9 +60,9 @@ import GHC.Prim (
and#, or#, xor#
)
-import GHC.Integer.GMP.Internals (
- Integer(..),
+import GHC.Integer.Type ( Integer(..) )
+import GHC.Integer.GMP.Internals (
-- GMP-related primitives
cmpInteger#, cmpIntegerInt#,
plusInteger#, minusInteger#, timesInteger#,
diff --git a/GHC/Integer/GMP/Internals.hs b/GHC/Integer/GMP/Internals.hs
index b2f52c4..b88a9d3 100644
--- a/GHC/Integer/GMP/Internals.hs
+++ b/GHC/Integer/GMP/Internals.hs
@@ -5,8 +5,6 @@
#include "MachDeps.h"
module GHC.Integer.GMP.Internals (
- Integer(..),
-
cmpInteger#,
cmpIntegerInt#,
@@ -52,7 +50,6 @@ module GHC.Integer.GMP.Internals (
) where
import GHC.Prim
-import GHC.Integer.Type
-- Double isn't available yet, and we shouldn't be using defaults anyway:
default ()
More information about the Cvs-libraries
mailing list