Use pattern matching on Parser.Result instead of map/getOrElse