forM package:nonempty-vector

O(n) Apply the monadic action to all elements of the non-empty vector, yielding a non0empty vector of results. Equivalent to flip mapM.
O(n) Apply the monadic action to all elements of a non-empty vector and ignore the results. Equivalent to flip mapM_.