-
Org-mode can be made to produce code of the following form: (prn
(binding [*out* (java.io.StringWriter.)]
(require '[babashka.process :as proc])
(proc/shell {:out :string} "ls"))) clj-kondo says there's an error:
And Babashka blows up with an exception:
I can require namespaces like |
Beta Was this translation helpful? Give feedback.
Answered by
borkdude
Dec 31, 2023
Replies: 1 comment 1 reply
-
This is normal behavior, an alias can only introduced in a top level form. Same as JVM Clojure. AKA Giladi scenario: https://technomancy.us/143 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jcf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is normal behavior, an alias can only introduced in a top level form. Same as JVM Clojure.
AKA Giladi scenario: https://technomancy.us/143