Skip to content

Release 0.4.0

Compare
Choose a tag to compare
@tfenne tfenne released this 11 Feb 13:46

Minor release with the following changes:

  1. 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 to coll.map(_.length).sum but without generating any intermediate collections of views.
  2. ReflectionUtil can now handle Char as a target type (including Option[Char] and Seq[Char]), where previously trying to construct a Char through an exception.