vector-instances-3.4.2: Orphan Instances for 'Data.Vector'
Copyright(c) Edward Kmett 2010
LicenseBSD3
Maintainerekmett@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Vector.Instances

Description

 

Orphan instances

Hashable1 Vector Source # 
Instance details

Methods

liftHashWithSalt :: (Int -> a -> Int) -> Int -> Vector a -> Int #

Adjustable Vector Source # 
Instance details

Methods

adjust :: (a -> a) -> Key Vector -> Vector a -> Vector a #

replace :: Key Vector -> a -> Vector a -> Vector a #

FoldableWithKey Vector Source # 
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 Source # 
Instance details

Methods

index :: Vector a -> Key Vector -> a #

Keyed Vector Source # 
Instance details

Methods

mapWithKey :: (Key Vector -> a -> b) -> Vector a -> Vector b #

Lookup Vector Source # 
Instance details

Methods

lookup :: Key Vector -> Vector a -> Maybe a #

TraversableWithKey Vector Source # 
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 Source # 
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 Source # 
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 Source # 
Instance details

Methods

point :: a -> Vector a #

Alt Vector Source # 
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 Source # 
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 Source # 
Instance details

Methods

(>>-) :: Vector a -> (a -> Vector b) -> Vector b #

join :: Vector (Vector a) -> Vector a #

Extend Vector Source # 
Instance details

Methods

duplicated :: Vector a -> Vector (Vector a) #

extended :: (Vector a -> b) -> Vector a -> Vector b #

Plus Vector Source # 
Instance details

Methods

zero :: Vector a #

Hashable a => Hashable (Vector a) Source # 
Instance details

Methods

hashWithSalt :: Int -> Vector a -> Int #

hash :: Vector a -> Int #

(Prim a, Hashable a) => Hashable (Vector a) Source # 
Instance details

Methods

hashWithSalt :: Int -> Vector a -> Int #

hash :: Vector a -> Int #

(Storable a, Hashable a) => Hashable (Vector a) Source # 
Instance details

Methods

hashWithSalt :: Int -> Vector a -> Int #

hash :: Vector a -> Int #

(Unbox a, Hashable a) => Hashable (Vector a) Source # 
Instance details

Methods

hashWithSalt :: Int -> Vector a -> Int #

hash :: Vector a -> Int #