summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Arr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Arr.hs')
-rw-r--r--libraries/base/GHC/Arr.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Arr.hs b/libraries/base/GHC/Arr.hs
index ee666eb34d..6b3a923dbc 100644
--- a/libraries/base/GHC/Arr.hs
+++ b/libraries/base/GHC/Arr.hs
@@ -71,9 +71,9 @@ default ()
--
-- * @'rangeSize' (l,u) == 'length' ('range' (l,u))@ @ @
--
--- Minimal complete instance: 'range', 'index' and 'inRange'.
---
class (Ord a) => Ix a where
+ {-# MINIMAL range, (index | unsafeIndex), inRange #-}
+
-- | The list of values in the subrange defined by a bounding pair.
range :: (a,a) -> [a]
-- | The position of a subscript in the subrange.