Assume I have a list with objects that all have a ...
# stdlib
r
Assume I have a list with objects that all have a
month
property, which the list is already sorted by. I want a new version of that list where there is an additional element between every two neighbouring items that have different
month
properties. Can this be accomplished in an easy, functional way with the stdlib functions or do I have to manually iterate through the list?