I tried the following in Clojure, expecting to have the class of a non-lazy sequence returned:
(.getClass (doall (take 3 (repeatedly rand))))
This is to some degree a question of taxonomy. a lazy sequence is just one type of sequence as is a list, vector or map. So the answer is of course "it depends on what type of non lazy sequence you want to get:
Take your pick from:
(doall ... ) (apply list (my-lazy-seq)) OR (into () ...) (vec (my-lazy-seq)) You can have whatever type of sequence most suites your needs.