This common pattern feels a bit verbose:
if (condition) Some(result) else None
I was thinking of using a function to simplify:
Scalaz includes the option function:
import scalaz.syntax.std.boolean._ true.option("foo") // Some("foo") false.option("bar") // None