How do you produce a list in Clojure?

Given seq, how do you return seq with the same elements, but in random order?

+7
source share
1 answer
(shuffle [1 2 3 4 5]) 
 (3 2 4 5 1) 
+28
source

All Articles