Before:
iterable.map(value => value match { case Some(value) => whenValue(value) case None => whenNothing() })
iterable.map { case Some(value) => whenValue(value) case None => whenNothing() }