How could I call a function with a string? e.g. something like this:
(call "zero?" 1) ;=> false
How could I call a function with a string? e.g. something like this:
(call "zero?" 1) ;=> false
Something like:
(defn call [^String nm & args]
(when-let [fun (ns-resolve *ns* (symbol nm))]
(apply fun args)))