a map function for lazy-arrays