nextjournal 2021-11-27

Any tips on using clerk and libpython-clj together? Currently getting an error from the viewer trying to look at a simple numerical result:

[{:type java.lang.AssertionError,
   :message "Assert failed: n must be a number?\n(number? n)",
   :at
   [nextjournal.clerk.viewer$bounded_count_opts
    invokeStatic
    "viewer.cljc"
    308]}]
...

The type of the result is java.lang.Double. works fine in the repl. Will make a repro if this sounds like a bug.

yes please, a small repro would be great

Added to a fork of clerk-demo. Start the server, run this notebook: https://github.com/sparkofreason/clerk-demo/blob/main/dev/user.clj#L21