also `averageBy{ .. }` on iterables, as shortcut i...
# stdlib
e
also
averageBy{ .. }
on iterables, as shortcut instead of
map{ }.average()
👍 1
r
You can simply create an extension function that would do that
Same for the range thingie, actually
e
almost everything can be solved manually, but adding to the std-lib would make it useful for everyone
r
right, my bad, didn't realize we were in #stdlib
e
np
e
it's not clear what the return type should be
e
1- we can infer 2- we have a lambda resolution by return type annotation available We can apply the same logic as
count{ }