1 -----------------------------------------------------------------------------
4 -- Copyright : (c) The University of Glasgow 2001
5 -- License : BSD-style (see the file libraries/base/LICENSE)
7 -- Maintainer : libraries@haskell.org
8 -- Stability : provisional
9 -- Portability : portable
11 -- Class of index types.
13 -----------------------------------------------------------------------------
18 ( range -- :: (Ix a) => (a,a) -> [a]
19 , index -- :: (Ix a) => (a,a) -> a -> Int
20 , inRange -- :: (Ix a) => (a,a) -> a -> Bool
21 , rangeSize -- :: (Ix a) => (a,a) -> Int
31 -- (Ix a, Ix b) => Ix (a, b)
34 -- Implementation checked wrt. Haskell 98 lib report, 1/99.
39 #ifdef __GLASGOW_HASKELL__