Release 0.4.0
Minor release with the following changes:
- Added an implicit to CommonsDef that provides a
sumBy
method on collections of Numerics, that calculates the sum of a function of the contents. E.g.coll.sumBy(_.length)
is equivalent tocoll.map(_.length).sum
but without generating any intermediate collections of views. - ReflectionUtil can now handle
Char
as a target type (includingOption[Char]
andSeq[Char]
), where previously trying to construct a Char through an exception.