Haskell Core Libraries (base package)ParentContentsIndex
Data.Ix
Portability portable
Stability provisional
Maintainer libraries@haskell.org
Description
Class of index types.
class (Ord a) => Ix a where
Methods
rangeSize :: (a, a) -> Int
inRange :: (a, a) -> a -> Bool
index :: (a, a) -> a -> Int
range :: (a, a) -> [a]
Instances
Ix Char
Ix Int
Ix Integer
Ix Bool
Ix Ordering
Ix ()
(Ix a, Ix b) => Ix (a, b)
(Ix a1, Ix a2, Ix a3) => Ix (a1, a2, a3)
(Ix a1, Ix a2, Ix a3, Ix a4) => Ix (a1, a2, a3, a4)
(Ix a1, Ix a2, Ix a3, Ix a4, Ix a5) => Ix (a1, a2, a3, a4, a5)
Ix Int8
Ix Int16
Ix Int32
Ix Int64
Ix Word
Ix Word8
Ix Word16
Ix Word32
Ix Word64
Produced by Haddock version 0.3