I have a bunch of time windows and I want to trans...
# announcements
r
I have a bunch of time windows and I want to transform them. For example, let's say I have a
List
of
Pair<Int,Int>
with values
[8->12, 12->18, 18->22, 22->8]
How can I transform this to
[0->8, 8->12, 12->18, 18->22, 22->24]
? Is there a way to "map" a collection of
T
to another collection of
T
by eventually producing multiple `T`s from one?