Thread
#stdlib
    natpryce

    natpryce

    2 years ago
    Q: Does the stdlib have an associate-like function that takes a function to merge elements with duplicate keys (similar to Collectors.toMap in Java Streams)?
    d

    diesieben07

    2 years ago
    collection.groupingBy { it.key }.aggreate
    natpryce

    natpryce

    2 years ago
    Awesome!