We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f51e8 commit d26206cCopy full SHA for d26206c
src/sci/impl/io.cljc
@@ -49,7 +49,12 @@
49
(doto (core-dynamic-var '*print-fn*)
50
(vars/unbind)))))
51
52
-;; TODO: CLJS print-err-fn
+#?(:cljs
53
+ (def print-err-fn
54
+ (binding [*unrestricted* true]
55
+ (doto (core-dynamic-var '*print-err-fn*)
56
+ (vars/unbind)))))
57
+
58
;; TODO: CLJS print-fn-bodies
59
60
(def print-meta
src/sci/impl/namespaces.cljc
@@ -846,7 +846,8 @@
846
'*err* io/err
847
'*file* vars/current-file
848
'*flush-on-newline* io/flush-on-newline
849
- #?@(:cljs ['*print-fn* io/print-fn])
+ #?@(:cljs ['*print-fn* io/print-fn
850
+ '*print-err-fn* io/print-err-fn])
851
'*print-length* io/print-length
852
'*print-level* io/print-level
853
'*print-meta* io/print-meta
0 commit comments