summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign/Ptr.hs
diff options
context:
space:
mode:
authorHécate Moonlight <hecate+gitlab@glitchbra.in>2022-01-20 21:55:16 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-04 16:14:10 -0500
commit4bd52410d03f851f69f85d43855358733d5ceb6d (patch)
tree5d64eda4df2fa904b1a4062e7cff7287cf6e6ec1 /libraries/base/Foreign/Ptr.hs
parent62d670eb3a1c059f1ff977471f8d77dac5cf21b8 (diff)
downloadhaskell-4bd52410d03f851f69f85d43855358733d5ceb6d.tar.gz
Add the Ix class to Foreign C integral types
Related CLC proposal is here: https://github.com/haskell/core-libraries-committee/issues/30
Diffstat (limited to 'libraries/base/Foreign/Ptr.hs')
-rw-r--r--libraries/base/Foreign/Ptr.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/Foreign/Ptr.hs b/libraries/base/Foreign/Ptr.hs
index 2607448f2a..59482e1737 100644
--- a/libraries/base/Foreign/Ptr.hs
+++ b/libraries/base/Foreign/Ptr.hs
@@ -62,6 +62,7 @@ import GHC.Read
import GHC.Real
import GHC.Show
import GHC.Enum
+import GHC.Ix
import Data.Bits
import Foreign.Storable ( Storable(..) )