Validation.map
def map[Y](f: X => Y): Validation[E, Y] = this match { case Failure(e) => Failure(e) case Success(x) => Success(f(x)) }