traverse package:contiguous

Map each element of the array to an action, evaluate these actions from left to right, and collect the results. For a version that ignores the results, see traverse_.
Map each element of the array to an action, evaluate these actions from left to right, and collect the results in a new array.
Map each element of the array to an action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results, see traverse.
Map each element of the array and its index to an action, evaluating these actions from left to right.
Map each element of the array to an action, evaluate these actions from left to right, and collect the results in a new array.
Map each element of the array and its index to an action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results, see itraverse.