-- Implementation checked wrt. Haskell 98 lib report, 1/99.
) where
+#ifndef __HUGS__
import {-# SOURCE #-} PrelErr ( error )
import PrelTup
import PrelBase
import PrelEnum
import PrelShow
import PrelNum
+
+default()
\end{code}
%*********************************************************
index b i | inRange b i = unsafeIndex b i
| otherwise = indexError b i "Int"
+ {-# INLINE inRange #-}
inRange (I# m,I# n) (I# i) = m <=# i && i <=# n
-
----------------------------------------------------------------------
instance Ix Integer where
{-# INLINE range #-}
-- Here l<h, but the second index ranges from 2..1 and
-- hence is empty
\end{code}
+
+\begin{code}
+#else
+-- This module is empty; Ix is currently defined in the prelude, but should
+-- eventually be moved to this library file instead.
+#endif
+\end{code}