Decorate-sort-undecorate idiom: Difference between revisions
→{{header|Kotlin}}
No edit summary |
|||
Line 609:
.map { it.first }
</syntaxhighlight>
Output:
<pre>
[a, is, Code, site, Rosetta, programming, chrestomathy]
</pre>
=={{header|Lua}}==
|