title: Idiomatic way of filtering Failure(t) instances in Scala
body: <p>If I have a <code>List[Try[A]]</code> in Scala, what is the idiomatic way to filter out the <code>Failure(t)</code> values?</p>
  
  <p>One way is to use the following:</p>
  
  <pre><code>val someList: List[Try[String]] = ...
  someList.filter(_.isFailure)
  </code></pre>
  
  <p>Is there a more "idiomatic" way, e.g. using <code>flatten</code>? This does seem pretty simple.</p>