shuffle

(shuffle coll)

返回对 coll 进行乱序排列之后得出的序列。

user=> (shuffle [1 2 3 4])
[4 1 3 2]

user=> (shuffle [1 2 3 4])
[1 3 2 4]

讨论

comments powered by Disqus

Previous topic

seq

Next topic

some