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
It sucks to have to write a dummy ns form, just to compile/load some ClojureScript into the current REPL. ClojureScript should have a require form, just like Clojure (but of course only for REPL use, since require at runtime doesn't make sense in cljs). It doesn't yet, so add one (it has to be a macro) to Austin. This would allow you to write (require 'foo) on an Austin REPL, rather than (ns *your-current-ns* (:require foo)).
The text was updated successfully, but these errors were encountered:
I think this would be a great idea, too. I wondered about and ran into this when I was watching the demo video. I appreciate the explanation of why it doesn't work now, but it sure would be good to have a more convenient way to require your ClojureScript.
rather than (ns your-current-ns (:require foo))
Is there a shorthand way to refer to the current namespace so you can do this easily and quickly, or do you always need to explicitly provide a concrete namespace?
It sucks to have to write a dummy
ns
form, just to compile/load some ClojureScript into the current REPL. ClojureScript should have arequire
form, just like Clojure (but of course only for REPL use, sincerequire
at runtime doesn't make sense in cljs). It doesn't yet, so add one (it has to be a macro) to Austin. This would allow you to write(require 'foo)
on an Austin REPL, rather than(ns *your-current-ns* (:require foo))
.The text was updated successfully, but these errors were encountered: