Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
vector-sized Data.Vector.Primitive.Sized O(n*m) Map a function over a vector and concatenate the results. The function is required to always return the same length vector.
imap :: forall a b (n :: Nat) . (Prim a, Prim b) => (Finite n -> a -> b) -> Vector n a -> Vector n bvector-sized Data.Vector.Primitive.Sized O(n) Apply a function to every element of a vector and its index.
-
vector-sized Data.Vector.Primitive.Sized O(n) Apply the monadic action to every element of a vector and its index, yielding a vector of results.
-
vector-sized Data.Vector.Primitive.Sized O(n) Apply the monadic action to every element of a vector and its index, ignoring the results.
concatMap :: forall a (m :: Nat) b (n :: Nat) . (a -> Vector m b) -> Vector n a -> Vector (n * m) bvector-sized Data.Vector.Sized O(n*m) Map a function over a vector and concatenate the results. The function is required to always return the same length vector.
imap :: forall (n :: Nat) a b . (Finite n -> a -> b) -> Vector n a -> Vector n bvector-sized Data.Vector.Sized O(n) Apply a function to every element of a vector and its index.
imapM :: forall m (n :: Nat) a b . Monad m => (Finite n -> a -> m b) -> Vector n a -> m (Vector n b)vector-sized Data.Vector.Sized O(n) Apply the monadic action to every element of a vector and its index, yielding a vector of results.
imapM_ :: forall m (n :: Nat) a b . Monad m => (Finite n -> a -> m b) -> Vector n a -> m ()vector-sized Data.Vector.Sized O(n) Apply the monadic action to every element of a vector and its index, ignoring the results.
-
vector-sized Data.Vector.Storable.Sized O(n*m) Map a function over a vector and concatenate the results. The function is required to always return the same length vector.
-
vector-sized Data.Vector.Storable.Sized O(n) Apply a function to every element of a vector and its index.