There is an amazing util in Scala that is available in scala.util.chaining._. It adds two implicit methods to any scala object that allow chain commands (pipe) and apply side effects (tap). Tap example import scala.util.chaining._ trait StatsCounter...

Markdown supported · ⌘↵ to post
No responses yet.