ahhh interesting. So that sounds like the syntax check is really wrong for defn. Because I've aliased the current ns to foo
and then attempted to (defn foo/my-fun ....)
which fails and (def foo/my-fn ...)
which succeeds. Looks like the syntax check for defn
should be changed to allow either a simple symbol, or a qualified symbol which resolves to the current namespace.