Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Bijection.Vector.Storable
Contents
Description
A bijection between boxed, immutable vectors.
Documentation
module Data.Bijection.Class
Instances
NFData1 Vector | |||||||||
Defined in Data.Vector.Storable | |||||||||
Storable a => Vector Vector a | |||||||||
Defined in Data.Vector.Storable Methods basicUnsafeFreeze :: Mutable Vector s a -> ST s (Vector a) basicUnsafeThaw :: Vector a -> ST s (Mutable Vector s a) basicLength :: Vector a -> Int basicUnsafeSlice :: Int -> Int -> Vector a -> Vector a basicUnsafeIndexM :: Vector a -> Int -> Box a basicUnsafeCopy :: Mutable Vector s a -> Vector a -> ST s () | |||||||||
(Storable a, FromJSON a) => FromJSON (Vector a) | |||||||||
Defined in Data.Aeson.Types.FromJSON | |||||||||
(Storable a, ToJSON a) => ToJSON (Vector a) | |||||||||
(Data a, Storable a) => Data (Vector a) | |||||||||
Defined in Data.Vector.Storable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vector a -> c (Vector a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Vector a) # toConstr :: Vector a -> Constr # dataTypeOf :: Vector a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Vector a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Vector a)) # gmapT :: (forall b. Data b => b -> b) -> Vector a -> Vector a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vector a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vector a -> r # gmapQ :: (forall d. Data d => d -> u) -> Vector a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Vector a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vector a -> m (Vector a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector a -> m (Vector a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector a -> m (Vector a) # | |||||||||
Storable a => Monoid (Vector a) | |||||||||
Storable a => Semigroup (Vector a) | |||||||||
Storable a => IsList (Vector a) | |||||||||
(Read a, Storable a) => Read (Vector a) | |||||||||
(Show a, Storable a) => Show (Vector a) | |||||||||
Storable c => DomCod (Vector c) Source # | |||||||||
Defined in Data.Bijection.Vector.Storable Associated Types
Methods member :: Vector c -> Dom (Vector c) -> Bool Source # lookup :: Vector c -> Dom (Vector c) -> Maybe (Cod (Vector c)) Source # deleteDC :: Vector c -> Dom (Vector c) -> Maybe (Cod (Vector c), Vector c) Source # insertDC :: Vector c -> (Dom (Vector c), Cod (Vector c)) -> Vector c Source # toListDC :: Vector c -> [(Dom (Vector c), Cod (Vector c))] Source # nullDC :: Vector c -> Bool Source # sizeDC :: Vector c -> Int Source # fromListDC :: [(Dom (Vector c), Cod (Vector c))] -> Vector c Source # | |||||||||
NFData (Vector a) | |||||||||
Defined in Data.Vector.Storable | |||||||||
(Storable a, Eq a) => Eq (Vector a) | |||||||||
(Storable a, Ord a) => Ord (Vector a) | |||||||||
Defined in Data.Vector.Storable | |||||||||
type Mutable Vector | |||||||||
Defined in Data.Vector.Storable type Mutable Vector = MVector | |||||||||
type Item (Vector a) | |||||||||
Defined in Data.Vector.Storable | |||||||||
type Cod (Vector c) Source # | |||||||||
Defined in Data.Bijection.Vector.Storable | |||||||||
type Dom (Vector c) Source # | |||||||||
Defined in Data.Bijection.Vector.Storable |
Orphan instances
Storable c => DomCod (Vector c) Source # | |||||||||
Associated Types
Methods member :: Vector c -> Dom (Vector c) -> Bool Source # lookup :: Vector c -> Dom (Vector c) -> Maybe (Cod (Vector c)) Source # deleteDC :: Vector c -> Dom (Vector c) -> Maybe (Cod (Vector c), Vector c) Source # insertDC :: Vector c -> (Dom (Vector c), Cod (Vector c)) -> Vector c Source # toListDC :: Vector c -> [(Dom (Vector c), Cod (Vector c))] Source # nullDC :: Vector c -> Bool Source # sizeDC :: Vector c -> Int Source # fromListDC :: [(Dom (Vector c), Cod (Vector c))] -> Vector c Source # |