title: Scala reverse string
body: <p>I'm a newbie to scala, I'm just writing a simple function to reverse a given string:</p>
  
  <pre><code>def reverse(s: String) : String
    for(i &lt;- s.length - 1 to 0) yield s(i)
  </code></pre>
  
  <p>the yield gives back a scala.collection.immutable.IndexedSeq[Char], and can not convert it to a String. (or is it something else?)</p>
  
  <p>how do i write this function ?</p>