You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using codegen/write-namespace! and found that using a nil:ns-prefix results in a generated namespace that starts with a .. This makes the generated namespace an illegal Java class name.
I was wondering if a nil:ns-prefix would be an allowed? This would allow the same namespace patterns between Clojure and Python, making interop seem more "seamless".
A possible implementation would be the ns-symbol binding in codegen/write-namespace! ignoring a nil or blank :ns-prefix, e.g.,
Hi,
I was using
codegen/write-namespace!
and found that using anil
:ns-prefix
results in a generated namespace that starts with a.
. This makes the generated namespace an illegal Java class name.I was wondering if a
nil
:ns-prefix
would be an allowed? This would allow the same namespace patterns between Clojure and Python, making interop seem more "seamless".A possible implementation would be the
ns-symbol
binding incodegen/write-namespace!
ignoring anil
or blank:ns-prefix
, e.g.,I see that we can already define
:ns-symbol
directly to achieve anil
:ns-prefix
, so this may already be allowed behaviour.For your kind consideration.
Many thanks for this excellent library!
The text was updated successfully, but these errors were encountered: