This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
this is more a general clojure question but I'm trying to use it in babashka: what is the right way to programatically call a function from a namespace? context is trying to right a "tool" task that takes a function name as an argument, and then calls the corresponding function from the
tools namespace. I was playing around with building the function symbol with
symbol but can't figure out how to call the function that the symbol is referencing
oh may have figured it out with something like
((->> (first *command-line-args*) (symbol "tools") resolve))
omg, can't Slack this morning , anyway -
requiring-resolve is what you want most likely