I have a question for a scala shuffle list using scala.util.Random .
For example, I have
val a = cyan val b = magenta val c = yellow val d = key val color = Random.shuffle.List(a,b,c,d).toString
so I want val color be random order val a, b, c and d .
source share