We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
user.clj:
(ns user (:require [nextjournal.clerk :as clerk])) (clerk/serve! {:watch-paths ["notebooks"]})
notebooks/tester.clj:
(range)
This seems to hang, rather than handling the infinite sequence as expected and called out in the example here:
clerk/notebooks/viewer_api.clj
Line 12 in fd79f75
Clerk server launched with Calva's jack-in, with no other dependencies. The Clerk server seems to just stop responding to updates.
On the other hand (range 100) seems to work fine.
(range 100)
The text was updated successfully, but these errors were encountered:
Hey, thanks for the report! Clerk currently has a condition to not cache things that execute in under 1ms, see
clerk/src/nextjournal/clerk.clj
Lines 66 to 67 in fd79f75
and
Line 107 in fd79f75
Could you maybe experiment with raising that limit and printing the time in order to find out what a better threshold is?
I think we might also want to put some limits in place so we by default don't try to freeze uncountable seqs with a very large number of items.
Sorry, something went wrong.
54ca847
No branches or pull requests
Replication steps
user.clj:
notebooks/tester.clj:
(range)
This seems to hang, rather than handling the infinite sequence as expected and called out in the example here:
clerk/notebooks/viewer_api.clj
Line 12 in fd79f75
Clerk server launched with Calva's jack-in, with no other dependencies. The Clerk server seems to just stop responding to updates.
On the other hand
(range 100)
seems to work fine.The text was updated successfully, but these errors were encountered: