Maps the array to a sequence with the given transform.
The sequence of transformed elements.
The transform to apply to each element.