In scala, how do I define addition over two Option arguments? Just to be specific, let\'s say they\'re wrappers for Int types (I\'m actually working with maps of do
Int
def addOpt(ao: Option[Int], bo: Option[Int]) = for { a <- ao b <- bo } yield a + b