This common pattern feels a bit verbose:
if (condition) Some(result) else None
I was thinking of using a function to simplify:
Similar to Scalaz, the Typelevel cats ecosystem has the mouse package with option:
option
scala> true.option("Its true!") res0: Option[String] = Some(Its true!)