has anybody got a functional use case for `mapTo` ...
# announcements
g
has anybody got a functional use case for
mapTo
using maps?
Copy code
val source = HashMap<String, Double>();
val sink = HashMap<String, Double>()

source.mapTo(sink.entries){ x -> x }
is a no compile because
sink.entries
is
MutableSet<MutableEntry<String, Double>>
and its expecting
MutableCollection<Map.Entry<String, Double>>