summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-16 10:27:18 -0400
committerBen Gamari <ben@smart-cactus.org>2020-08-16 10:27:18 -0400
commit270dcc4a48e5431a79a677943a7583e5bf53d161 (patch)
tree3f95903f58d6e916e40ee7ebc79d9997931a4a33
parentbde38aa1fe6a72311af4c650ae0608e057dc6750 (diff)
downloadhaskell-wip/T18579.tar.gz
base: Export indexError from GHC.Ixwip/T18579
As pointed out in #18579, this is very useful when defining `Ix` instances.
-rw-r--r--libraries/base/GHC/Ix.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Ix.hs b/libraries/base/GHC/Ix.hs
index 5d7b74ff30..34c4857b15 100644
--- a/libraries/base/GHC/Ix.hs
+++ b/libraries/base/GHC/Ix.hs
@@ -18,7 +18,7 @@
-----------------------------------------------------------------------------
module GHC.Ix (
- Ix(..)
+ Ix(..), indexError
) where
import GHC.Enum