map -bytestring -base +array
Constructs a new array derived from the original array by applying a function to each of the elements.
Constructs a new array derived from the original array by applying a function to each of the indices.
Returns a new array derived from the original array by applying a function to each of the elements.
Returns a new array derived from the original array by applying a function to each of the indices.
ixmap allows for transformations on array indices. It may be thought of as providing function composition on the right with the mapping that the original array embodies.
A similar transformation of array values may be achieved using fmap from the Array instance of the Functor class.