How to convert lazy sequence to non-lazy in Clojure

前端 未结 5 1141
陌清茗
陌清茗 2020-11-29 18:19

I tried the following in Clojure, expecting to have the class of a non-lazy sequence returned:

(.getClass (doall (take 3 (repeatedly rand))))
5条回答
提交回复
热议问题