Data.Vector.Instances

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

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

Data.Vector.Instances

Contents

- Orphan instances

Description

# Orphan instances

Hashable1 Vector # |
Instance details Methods liftHashWithSalt :: (Int -> a -> Int) -> Int -> Vector a -> Int #
Adjustable Vector # |
Instance details Methods adjust :: (a -> a) -> Key Vector -> Vector a -> Vector a # replace :: Key Vector -> a -> Vector a -> Vector a #
FoldableWithKey Vector # |
Instance details 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 #
Indexable Vector # |
Instance details Methods index :: Vector a -> Key Vector -> a #
Keyed Vector # |
Instance details Methods mapWithKey :: (Key Vector -> a -> b) -> Vector a -> Vector b #
Lookup Vector # |
Instance details Methods lookup :: Key Vector -> Vector a -> Maybe a #
TraversableWithKey Vector # |
Instance details 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) #
Zip Vector # |
Instance details 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 # |
Instance details Methods zipWithKey :: (Key Vector -> a -> b -> c) -> Vector a -> Vector b -> Vector c # zapWithKey :: Vector (Key Vector -> a -> b) -> Vector a -> Vector b #
Pointed Vector # |
Instance details Methods point :: a -> Vector a #
Alt Vector # |
Instance details Methods (<!>) :: Vector a -> Vector a -> Vector a # some :: Applicative Vector => Vector a -> Vector [a] # many :: Applicative Vector => Vector a -> Vector [a] #
Apply Vector # |
Instance details Methods (<.>) :: Vector (a -> b) -> Vector a -> Vector b # (.>) :: Vector a -> Vector b -> Vector b # (<.) :: Vector a -> Vector b -> Vector a # liftF2 :: (a -> b -> c) -> Vector a -> Vector b -> Vector c #
Bind Vector # |
Instance details Methods (>>-) :: Vector a -> (a -> Vector b) -> Vector b # join :: Vector (Vector a) -> Vector a #
Extend Vector # |
Instance details Methods duplicated :: Vector a -> Vector (Vector a) # extended :: (Vector a -> b) -> Vector a -> Vector b #
Plus Vector # |
Instance details Methods zero :: Vector a #
Hashable a => Hashable (Vector a) # |
Instance details Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #
(Prim a, Hashable a) => Hashable (Vector a) # |
Instance details Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #
(Storable a, Hashable a) => Hashable (Vector a) # |
Instance details Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #
(Unbox a, Hashable a) => Hashable (Vector a) # |
Instance details Methods hashWithSalt :: Int -> Vector a -> Int # hash :: Vector a -> Int #