Created
December 18, 2013 23:07
-
-
Save qerub/8031458 to your computer and use it in GitHub Desktop.
Scalaz Light (The Good[^W]Indispensable Parts)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scalaz._ | |
trait ScalazLight | |
extends std.AllInstances | |
with syntax.std.ToOptionIdOps | |
with syntax.std.ToOptionOps | |
with syntax.ToEqualOps | |
with syntax.ToIdOps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I currently consider indispensable:
===
(typesafe equality)Option#orZero
(e.g.(None: Option[String]).orZero => ""
)<|
/unsafeTap
(great with Java "beans")|>
(e.g.read(input) |> eval |> print
)