Minimal reproduction:
Given a notebook ns starting like this:
^:kindly/servable
(ns example
(:require
[scicloj.clay.v2.main]
[clojure.string :as str]))
If we add and try to read and render:
Clay fails with a truncated error from tools.reader.
Note, this happens even if Clay should never try to render the expression, such as in appending instead of ::str/join:
^:kindly/hide-code {::str/join 1}
I have on my fork (https://github.com/edenworky/clay) a working fix for clay.reader/read to iteratively take into consideration the current ns/aliases, but I'm not sure this is the best approach, and in any case, I moved to clerk for now. Posting this here in any case.
Minimal reproduction:
Given a notebook ns starting like this:
If we add and try to read and render:
Clay fails with a truncated error from
tools.reader.Note, this happens even if Clay should never try to render the expression, such as in appending instead of
::str/join:^:kindly/hide-code {::str/join 1}I have on my fork (https://github.com/edenworky/clay) a working fix for
clay.reader/readto iteratively take into consideration the current ns/aliases, but I'm not sure this is the best approach, and in any case, I moved to clerk for now. Posting this here in any case.