4 ms·
Agreed the style guide is a guideline at best. I've moved to the dotless notation because I like that it provides a way to indicate pure code. Postfix operator
by 0xfaded 11y ago
Agreed the style guide is a guideline at best.
I've moved to the dotless notation because I like that it provides a way to indicate pure code. Postfix operators are poorly supported though.
(xs map { x => x.key -> x }).toMap