You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CLJS *print-fn* is used rather than binding *out* for controlling output. Currently there is no good way to do (sci/binding [sci/out *out*] (eval-string "(println :foo)")) in CLJS. Maybe we should rather use something like sci/*print-fn* for this.
In normal CLJS, *out* doesn't work like in Clojure:
In CLJS
*print-fn*
is used rather than binding*out*
for controlling output. Currently there is no good way to do(sci/binding [sci/out *out*] (eval-string "(println :foo)"))
in CLJS. Maybe we should rather use something likesci/*print-fn*
for this.In normal CLJS,
*out*
doesn't work like in Clojure:but rather you should bind or set print-fn:
So in CLJS it would make sense to expose
sci/print-fn
which can be bound to a print function which influences howprintln
etc work.The text was updated successfully, but these errors were encountered: