container-1.0.2: Containers abstraction and utilities.

Safe HaskellNone
LanguageHaskell2010

Data.Container.Instances.Vector.Lazy

Documentation

failT2 :: (Monad m, Cond2 opt) => Proxy (Opt *) opt -> String -> m a Source

checkBounds2 :: MeasurableQM ([] *) ([] *) Identity t1 => Int -> t1 -> (String -> t) -> t -> t Source

checkBoundsM2 :: (Monad m, MeasurableQM ([] *) ([] *) Identity t, Cond2 opt) => Proxy (Opt *) opt -> Int -> t -> a -> m a Source

checkedBoundsIfM2 :: (Monad m, MeasurableQM ([] *) ([] *) Identity t, Cond2 opt, Cond2 opt1) => Proxy (Opt *) opt -> Proxy (Opt *) opt1 -> Int -> t -> a -> m a Source

checkedIfM2 :: (Monad m, Cond2 opt) => Proxy (Opt *) opt -> (a -> m a) -> a -> m a Source

class Cond2 opt where Source

Methods

ifT2 :: Proxy opt -> a -> a -> a Source

Instances

Cond2 (N *) Source 
Cond2 (P * a) Source