pdegand
iterable.map { doSomething(it) it }.forEach { // or continue with any other operator on the same iterable }