Is there a good trick for finding a symbol in a namespace, no matter how itโs aliased in a clojure ns? I guess I can look through the ns form, and check for the various options. Did someone already do that?
Yes, you can use edamame for this. It has a function called parse-ns-form which can be used to resolve aliases:
https://github.com/borkdude/edamame/blob/967f3df689f44fd24c95052c57c6eca53331dd5d/src/edamame/core.cljc#L147