[project @ 2001-08-29 09:34:05 by simonmar]
[ghc-hetmet.git] / ghc / lib / std / Ix.lhs
index a152d6d..f72f915 100644 (file)
@@ -1,5 +1,7 @@
+% -----------------------------------------------------------------------------
+% $Id: Ix.lhs,v 1.19 2001/08/29 09:34:05 simonmar Exp $
 %
-% (c) The AQUA Project, Glasgow University, 1994-1999
+% (c) The University of Glasgow, 1994-2000
 %
 
 \section[Ix]{Module @Ix@}
@@ -11,8 +13,8 @@ module Ix
          ( range       -- :: (Ix a) => (a,a) -> [a]
          , index       -- :: (Ix a) => (a,a) -> a   -> Int
          , inRange     -- :: (Ix a) => (a,a) -> a   -> Bool
+         , rangeSize   -- :: (Ix a) => (a,a) -> Int
          )
-    ,  rangeSize       -- :: (Ix a) => (a,a) -> Int
     -- Ix instances:
     --
     --  Ix Char
@@ -28,8 +30,9 @@ module Ix
     ) where
 
 import Prelude
+#ifndef __HUGS__
 import PrelArr
-
+#endif
 -- This module is empty, because Ix is defined in PrelArr.
 -- Reason: it's needed internally in the Prelude.  
 -- This module serves solely to export it to the user.