Functional style map iterator