title: Convert a Scala list to a tuple?
body: <p>How can I convert a list with (say) 3 elements into a tuple of size 3?</p>
  
  <p>For example, let's say I have <code>val x = List(1, 2, 3)</code> and I want to convert this into <code>(1, 2, 3)</code>. How can I do this?</p>