fun foo() = withIntList { withStringSequence { forEach { line -> line.rem(1) line.length } } } fun withIntList(x: List.() -> Unit) {} fun withStringSequence(action: Sequence.() -> T): T = TODO()