public static function map(Iterator $iterator, $function) { return new TransformingIterator($iterator, $function); }