orangy
partition
val (match, nomatch) = items.partition { it.length > 10 } val result = nomatch + match.reduce { a, b -> merge(a,b) }