summaryrefslogtreecommitdiff
path: root/libraries/integer-simple
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2015-11-12 20:35:47 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-14 21:16:29 +0100
commit3353f62ab8658346b0084fe6382edeb86d104012 (patch)
treeb925412debaae3501b0a6d5b91b6955376c18611 /libraries/integer-simple
parent8988be8561ce0857f3befd6ab3b6c29060685c0a (diff)
downloadhaskell-3353f62ab8658346b0084fe6382edeb86d104012.tar.gz
Rip out __HADDOCK__ references
As it turns out no one actually sets this macro anyways and haddock now clearly has no trouble parsing this code. Test Plan: Validate Reviewers: hvr, goldfire, austin Reviewed By: austin Subscribers: duncan, thomie, hvr Differential Revision: https://phabricator.haskell.org/D1463
Diffstat (limited to 'libraries/integer-simple')
-rw-r--r--libraries/integer-simple/GHC/Integer/Type.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/libraries/integer-simple/GHC/Integer/Type.hs b/libraries/integer-simple/GHC/Integer/Type.hs
index cd39b7d6bd..31f852bbd1 100644
--- a/libraries/integer-simple/GHC/Integer/Type.hs
+++ b/libraries/integer-simple/GHC/Integer/Type.hs
@@ -34,8 +34,6 @@ import GHC.Tuple ()
import GHC.IntWord64
#endif
-#if !defined(__HADDOCK__)
-
data Integer = Positive !Positive | Negative !Positive | Naught
-------------------------------------------------------------------
@@ -868,8 +866,6 @@ floatFromPositive (Some w ds)
(2.0# `powerFloat#` int2Float# (highHalfShift ())))
`plusFloat#` int2Float# (word2Int# l)
-#endif
-
{-
Note [Avoid patError]