Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'doall' does not seem to evaluate any clojure.lang.LazySeq #1

Open
armlesshobo opened this issue Jun 9, 2017 · 0 comments
Open

'doall' does not seem to evaluate any clojure.lang.LazySeq #1

armlesshobo opened this issue Jun 9, 2017 · 0 comments

Comments

@armlesshobo
Copy link

repl-bot correctly evaluates expressions to a LazySeq:

user:

(take (rand-int 100) (range (rand-int 100)))

repl-bot:
=> clojure.lang.LazySeq@ccc08705

However, using 'doall' does not immediately evaluate the generated LazySeq like it should:

user:

(doall (take (rand-int 100) (range (rand-int 100))))

repl-bot:
=> clojure.lang.LazySeq@9ebadac6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant