X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FNum.lhs;h=e16a3505687c4923efedc562aba1e2d0f9f9f0d6;hb=2b88e86142ffbf79dad8596082ec301627a5682c;hp=87a11df854294a3717b82fc1783ba553c0ee8f25;hpb=f1cbe58f7f201645d906f31e6208d13a3c0bbbd6;p=ghc-base.git diff --git a/GHC/Num.lhs b/GHC/Num.lhs index 87a11df..e16a350 100644 --- a/GHC/Num.lhs +++ b/GHC/Num.lhs @@ -1,5 +1,7 @@ \begin{code} {-# OPTIONS_GHC -XNoImplicitPrelude #-} +-- We believe we could deorphan this module, by moving lots of things +-- around, but we haven't got there yet: {-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- @@ -122,27 +124,6 @@ divModInt x@(I# _) y@(I# _) = (x `divInt` y, x `modInt` y) %********************************************************* %* * -\subsection{The @Integer@ instances for @Eq@, @Ord@} -%* * -%********************************************************* - -\begin{code} -instance Eq Integer where - (==) = eqInteger - (/=) = neqInteger - ------------------------------------------------------------------------- -instance Ord Integer where - (<=) = leInteger - (>) = gtInteger - (<) = ltInteger - (>=) = geInteger - compare = compareInteger -\end{code} - - -%********************************************************* -%* * \subsection{The @Integer@ instances for @Show@} %* * %*********************************************************