Improve panic message reporting

This commit is contained in:
Scott Richmond 2022-04-25 19:07:18 -04:00
parent 9cd4fccfb9
commit f7809d5ddf

View File

@ -36,7 +36,7 @@
(def panic! {:name "panic!"
::data/type ::data/clj
:body (fn [& args] (throw (ex-info "Ludus panicked!" {:args args})))})
:body (fn [& args] (throw (ex-info (apply str (interpose " " args)) {})))})
(def print- {:name "print"
::data/type ::data/clj