Rob Elliot
08/23/2022, 4:10 PMfun <K, V> Iterable<Pair<K, V>>.groupByKey(): Map<K, List<V>> = this.groupBy({ it.first }, { it.second})
Is it a bad idea?ephemient
08/23/2022, 4:45 PMinterface Multimap<K, V> : Map<K, List<V>>
then this method would could naturally be called .toMultimap()