Hullaballoonatic
04/24/2019, 2:47 AMfun Foo.act(with: Bar) = //
The most when paired with
foo.act(with=bar)
gildor
04/24/2019, 2:49 AMgildor
04/24/2019, 3:02 AMfun <T> Iterable<T>.sortedWith(comparator: Comparator<in T>): List<T>
With
in function name makes a lot of sense, because in 99% cases you use it like:
list.sortedWith { compareSomehow(it) }
Hullaballoonatic
04/24/2019, 3:44 AM