Instantly share code, notes, and snippets.

Embed
What would you like to do?
scala> util.Random.shuffle((1 until 3).toList)
res4: List[Int] = List(2, 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment