Use prelude methods (there should be very few cases where this sort of low level iteration is required).