<@U0ANSGGVC>: if are not aiming at one-liner, cons...
# announcements
o
@kirillrakhman: if are not aiming at one-liner, consider
partition
Copy code
val (match, nomatch) = items.partition { it.length > 10 }
    val result = nomatch + match.reduce { a, b -> merge(a,b) }