Data.Vector.Instances

vector-instances-3.4: Orphan Instances for 'Data.Vector'

Copyright | (c) Edward Kmett 2010
License | BSD3
Maintainer | ekmett@gmail.com
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell98

Data.Vector.Instances

Contents

- Orphan instances

Description

# Orphan instances

Keyed Vector # |
Methods mapWithKey :: (Key Vector -> a -> b) -> Vector a -> Vector b #
Zip Vector # |
Methods zipWith :: (a -> b -> c) -> Vector a -> Vector b -> Vector c # zip :: Vector a -> Vector b -> Vector (a, b) # zap :: Vector (a -> b) -> Vector a -> Vector b #
ZipWithKey Vector # |
Methods zipWithKey :: (Key Vector -> a -> b -> c) -> Vector a -> Vector b -> Vector c # zapWithKey :: Vector (Key Vector -> a -> b) -> Vector a -> Vector b #
Indexable Vector # |
Methods index :: Vector a -> Key Vector -> a #
Lookup Vector # |
Methods lookup :: Key Vector -> Vector a -> Maybe a #
Adjustable Vector # |
Methods adjust :: (a -> a) -> Key Vector -> Vector a -> Vector a # replace :: Key Vector -> a -> Vector a -> Vector a #
FoldableWithKey Vector # |
Methods toKeyedList :: Vector a -> [(Key Vector, a)] # foldMapWithKey :: Monoid m => (Key Vector -> a -> m) -> Vector a -> m # foldrWithKey :: (Key Vector -> a -> b -> b) -> b -> Vector a -> b # foldlWithKey :: (b -> Key Vector -> a -> b) -> b -> Vector a -> b #
TraversableWithKey Vector # |
Methods traverseWithKey :: Applicative f => (Key Vector -> a -> f b) -> Vector a -> f (Vector b) # mapWithKeyM :: Monad m => (Key Vector -> a -> m b) -> Vector a -> m (Vector b) #
Pointed Vector # |
Methods point :: a -> Vector a #
Plus Vector # |
Methods zero :: Vector a #
Alt Vector # |
Methods (<!>) :: Vector a -> Vector a -> Vector a # some :: Applicative Vector => Vector a -> Vector [a] # many :: Applicative Vector => Vector a -> Vector [a] #
Apply Vector # |
Methods (<.>) :: Vector (a -> b) -> Vector a -> Vector b # (.>) :: Vector a -> Vector b -> Vector b # (<.) :: Vector a -> Vector b -> Vector a #
Bind Vector # |
Methods (>>-) :: Vector a -> (a -> Vector b) -> Vector b # join :: Vector (Vector a) -> Vector a #
Extend Vector # |
Methods duplicated :: Vector a -> Vector (Vector a) # extended :: (Vector a -> b) -> Vector a -> Vector b #
Hashable a => Hashable (Vector a) # |
Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #
(Unbox a, Hashable a) => Hashable (Vector a) # |
Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #
(Storable a, Hashable a) => Hashable (Vector a) # |
Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #
(Prim a, Hashable a) => Hashable (Vector a) # |
Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #