-
Notifications
You must be signed in to change notification settings - Fork 102
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
Not all println calls show output #241
Comments
Isn't that the expected behaviour? I would have guessed that |
It's strange, because the sequence is realized, as we know because we see However, I've now tried |
Huh, good point. That is very weird. Looking in the debugger, I don't see any But what's weird is that it does print the values, even without the Will have to ponder on this some more ... |
A simple call to
println
produces two output fields, one for the printed output and one for the return value. That's great. A call todoseq
with a body that includes call toprintln
seems to work fine too, as in(doseq [x (range 10)] (println x))
.However, this shows only the return value, with the printed stuff not being shown anywhere:
(repeatedly 20 #(do (println 1) 2))
The text was updated successfully, but these errors were encountered: