ap package:contiguous

Sequential application. Equivalent to Control.Applicative.<*>.
Append two arrays.
Monoidal fold over the element of an array.
Strict monoidal fold over the elements of an array.
Strict left monoidal fold over the elements of an array.
Strict monoidal fold over the elements of an array.
Strict monoidal fold over the elements of an array.
Map over the elements of an array with the index.
Map strictly over the elements of an array with the index. Note that because a new array must be created, the resulting array type can be different than the original.
Map over a mutable array with indices, modifying the elements in place.
Strictly map over a mutable array with indices, modifying the elements in place.
Map over the elements of an array. Note that because a new array must be created, the resulting array type can be different than the original.
Map strictly over the elements of an array. Note that because a new array must be created, the resulting array type can be different than the original.
Monadic accumulating strict left fold over the elements on an array.
Map each element of a structure to a monadic action, evaluate these actions from left to right, and collect the results. for a version that ignores the results see mapM_.
Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ = traverse_
The mapMaybe function is a version of map which can throw out elements. In particular, the functional arguments returns something of type Maybe b. If this is Nothing, no element is added on to the result array. If it is Just b, then b is included in the result array.
Map over a mutable array, modifying the elements in place.
Strictly map over a mutable array, modifying the elements in place.
Swap the elements of the mutable array at the given indices.