https://kotlinlang.org logo
#getting-started
Title
# getting-started
r

Ruckus

12/08/2016, 7:51 PM
@cedric Interesting. I would usually write that like so:
Copy code
tasksByPlugins[name]
    .distinctBy { it.name }
    .sortedBy { it.name }
    .forEach { task -> sb.append("    ${task.name}\t\t${task.doc}\n") }
1