rcd27
03/22/2022, 6:31 PMMap<Int,List<ONE>>
Map<Int,List<TWO>>
...
Map<Int,List<N>>
Is there any "instrument" I can zip it to Map<Int, Tuple<ONE,TWO,...,N>>
where ints represent unique numbers which present in each Map?rcd27
03/22/2022, 10:36 PMMap.align(Map)
and manual folding for Ior<List<One>,List<Two>>
... Looks ugly, but does what I want 🙂rcd27
03/22/2022, 10:40 PMsimon.vergauwen
03/28/2022, 3:09 PMsimon.vergauwen
03/28/2022, 3:10 PMzip
but that only combines if the same key is present for all maps.
Not sure how you want to turn List<ONE>
and List<TWO>
into Pair<ONE, TWO>
rcd27
04/02/2022, 3:21 PM