开发者

How do you randomize a list in Clojure?

Given a seq, how do you return a seq with the same e开发者_运维知识库lements but in a random order?


(shuffle [1 2 3 4 5])
(3 2 4 5 1)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜