what would be the best way to merge items in a lis...
# announcements
k
what would be the best way to merge items in a list that match some criteria and leave others intact? I can think of
list.groupBy { ... }.values.map{ it.reduce { x1, x2 -> merge(x1,x2) } }