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