Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chanterelle 0.1.1

Latest

Choose a tag to compare

@arainko arainko released this 30 Aug 17:02
· 35 commits to main since this release
be3d61b

chanterelle 0.1.1

This release brings support for Scala JS and Scala Native (thanks @plokhotnyuk!) along with a new feature - Either traversals:

val tup = (left = Left(1), right = Right("2"))
val transformed = tup.transform(
  _.update(_.left.leftElement)(_ + 1),
  _.update(_.right.rightElement)(_ + "-SUFFIXED")
)
// evaluates to this:
(left = Left(2), right = Right("2-SUFFIXED"))

and a bugfix for selecting tuple elements with .apply(N) rather than solely relying on ._N accessors (which only go up to 22!)

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.1.1