title: Scala Either map Right or return Left
body: <p>Is it possible to handle <code>Either</code> in similar way to <code>Option</code>? In <code>Option</code>, I have a <code>getOrElse</code> function, in <code>Either</code> I want to return <code>Left</code> or process <code>Right</code>. I'm looking for the fastest way of doing this without any boilerplate like:</p>
  
  <pre><code>val myEither:Either[String, Object] = Right(new Object())
  myEither match {
      case Left(leftValue) =&gt; value
      case Right(righValue) =&gt; 
          "Success"
  }
  </code></pre>