title: Using Scala 2.10 `to` to convert a List to a SortedMap
body: <p>I am trying to convert a <code>scala.collection.immutable.List</code> of pairs to a <code>scala.collection.immutable.SortedMap</code> using the new <code>to</code> method from Scala 2.10, but I get a compile-time error:</p>
  
  <pre><code>scala&gt; List((1, "Fred"), (2, "Barney")).to[scala.collection.immutable.SortedMap]
  &lt;console&gt;:10: error: scala.collection.immutable.SortedMap takes two type parameters, expected: one
                List((1, "Fred"), (2, "Barney")).to[SortedMap]
                                                    ^
  </code></pre>
  
  <p>Can this be done using the <code>to</code> method? Am I missing an intermediate method call?</p>