title: Is there a "for" syntax for flatmap?
body: <p>Is there a "for" syntax for</p>
  
  <pre><code>c flatmap ( x =&gt; d flatmap (y =&gt; f(x,y) ) )
  </code></pre>
  
  <p>?</p>
  
  <p>Because I've used Haskell in the past, I keep expecting the "for" syntax in Scala to mimic the "do" syntax of Haskell. This is probably an unrealistic expectation. In Haskell which I could write</p>
  
  <pre><code>do x &lt;- c
     y &lt;- d
     f(x, y)
  </code></pre>