Int -> Double

(!!) :: [a] -> Int -> a
base Prelude, base Data.List
List index (subscript) operator, starting from 0. It is an instance of the more general Data.List.genericIndex, which takes an index of any integral type.
index :: Seq a -> Int -> a
containers Data.Sequence
O(log(min(i,n-i))). The element at the specified position, counting from 0. The argument should thus be a non-negative integer less than the size of the sequence. If the position is out of range, index fails with an error.
toEnum :: Enum a => Int -> a
base Prelude
bit :: Bits a => Int -> a
base Data.Bits
(!) :: IntMap a -> Key -> a
containers Data.IntMap.Strict, containers Data.IntMap.Lazy
O(min(n,W)). Find the value at a key. Calls error when the element can not be found. > fromList [(5,'a'), (3,'b')] ! 1 Error: element not in the map > fromList [(5,'a'), (3,'b')] ! 5 == 'a'
unsafeCoerce :: a -> b
base Unsafe.Coerce
throwDyn :: Typeable exception => exception -> b
base Control.OldException
Raise any value as an exception, provided it is in the Typeable class.
getDistance :: Node -> LRTree a -> a
fgl Data.Graph.Inductive.Internal.RootPath
unGen :: Gen a -> StdGen -> Int -> a
QuickCheck Test.QuickCheck.Gen
gmapQi :: Data a => Int -> (forall d. Data d => d -> u) -> a -> u
base Data.Data
clearBit :: Bits a => a -> Int -> a
base Data.Bits
complementBit :: Bits a => a -> Int -> a
base Data.Bits
rotate :: Bits a => a -> Int -> a
base Data.Bits
rotateL :: Bits a => a -> Int -> a
base Data.Bits
rotateR :: Bits a => a -> Int -> a
base Data.Bits
setBit :: Bits a => a -> Int -> a
base Data.Bits
shift :: Bits a => a -> Int -> a
base Data.Bits
shiftL :: Bits a => a -> Int -> a
base Data.Bits
shiftR :: Bits a => a -> Int -> a
base Data.Bits
findWithDefault :: a -> Key -> IntMap a -> a
containers Data.IntMap.Strict, containers Data.IntMap.Lazy
O(min(n,W)). The expression (findWithDefault def k map) returns the value at key k or returns def when the key is not an element of the map. > findWithDefault 'x' 1 (fromList [(5,'a'), (3,'b')]) == 'x' > findWithDefault 'x' 5 (fromList [(5,'a'), (3,'b')]) == 'a'

Show more results