title: How to flatten a List of Futures in Scala
body: <p>I want to take this val:</p>
  
  <pre><code>val f = List(Future(1), Future(2), Future(3))
  </code></pre>
  
  <p>Perform some operation on it (I was thinking flatten)</p>
  
  <pre><code>f.flatten
  </code></pre>
  
  <p>And get this result</p>
  
  <pre><code>scala&gt; f.flatten = List(1,2,3)
  </code></pre>
  
  <p>If the flatten method isn't appropriate here, that's fine.  As long as I get to the result.</p>
  
  <p>Thanks!</p>