title: Shuffle a List in Scala
body: <p>I have question to for shuffle list in scala using <code>scala.util.Random</code>.</p>
  
  <p>For example I have</p>
  
  <pre><code>val a = cyan
  val b = magenta
  val c = yellow
  val d = key
  
  val color = Random.shuffle.List(a,b,c,d).toString //but it doesn't work ;(
  </code></pre>
  
  <p>so I want the <code>val color</code> to be random order of <code>val a, b, c and d</code>.</p>