diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-08-16 10:27:18 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-08-16 10:27:18 -0400 |
commit | 270dcc4a48e5431a79a677943a7583e5bf53d161 (patch) | |
tree | 3f95903f58d6e916e40ee7ebc79d9997931a4a33 | |
parent | bde38aa1fe6a72311af4c650ae0608e057dc6750 (diff) | |
download | haskell-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.hs | 2 |
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 |