orangy
let
items.partition { it.length > 10 }.let { it.first + it.second.reduce { a, b -> merge(a,b) } }