title: What is the Scala equivalent to Clojure's threading macros?
body: <p>Clojure has the "threading macros" <code>-&gt;</code> and <code>-&gt;&gt;</code>.  I'm pretty sure a similar construct can be used in Scala code to replace code like:</p>
  
  <pre><code>var myObj = MyObject(x, y, z)
  myObj = transform(myObj, abc)
  myObj = transformMore(myObj, def)
  myObj = transformYetMore(myObj, bar)
  </code></pre>
  
  <p>I'd love to see a worked-through example to see if it looks good.  I'm pretty sure you don't need to use macros in the Scala case.</p>