summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Generics.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-09-16 10:51:08 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-25 13:55:09 -0400
commitd90d0bade05fa63b81fe68d42c4242dd97c46e77 (patch)
treef6afc378d35fde0a90bb8ff0b558fd4dda3c265d /libraries/base/GHC/Generics.hs
parentebc65025435b1c441cfd9fa3dd460201cea4576d (diff)
downloadhaskell-d90d0bade05fa63b81fe68d42c4242dd97c46e77.tar.gz
base: Move Ix typeclass to GHC.Ix
The `Ix` class seems rather orthogonal to its original home in `GHC.Arr`.
Diffstat (limited to 'libraries/base/GHC/Generics.hs')
-rw-r--r--libraries/base/GHC/Generics.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Generics.hs b/libraries/base/GHC/Generics.hs
index 0492464d2b..56fca9b5a2 100644
--- a/libraries/base/GHC/Generics.hs
+++ b/libraries/base/GHC/Generics.hs
@@ -736,7 +736,7 @@ import GHC.Ptr ( Ptr )
import GHC.Types
-- Needed for instances
-import GHC.Arr ( Ix )
+import GHC.Ix ( Ix )
import GHC.Base ( Alternative(..), Applicative(..), Functor(..)
, Monad(..), MonadPlus(..), NonEmpty(..), String, coerce
, Semigroup(..), Monoid(..) )