OOC, what's the reasoning for extensions existing ...
# stdlib
d
OOC, what's the reasoning for extensions existing for some primitives, but not others? For example,
Iterable<T>
has
sumBy
(
Int
) and
sumByDouble
, but no
sumByFloat
. These seem like odd omissions