configleaf
configleaf copied to clipboard
Changing :namespace in :configleaf produces invalid package name.
This was already mentioned in #3, but I am opening a separate issue here. Using a custom namespace produces an invalid symbol name "(quote foo.bar)":
:configleaf { :namespace 'foo.bar }
The generate directory structure on Win7 is source file "bar).clj" in directory "(quote foo". Having this with leiningen 2.4.2 and Clojure 1.6.0.
I just tried
:configleaf { :namespace "foo.bar" }
(string instead of a symbol) and that worked fine. Wrong documentation or an issue?
My memory fails me... I think it may be a doc problem, as I may have written the docs intending that to be {:namespace foo.bar}, but then quoted it in the docs for some reason. Does that style work?
Sorry for letting you wait for 17 days... yes, {:namespace foo.bar} and {:namespace "foo.bar"} both work OK. I suggest you adjust the docs and then close the ticket :)
No problem, thanks for checking on that. I'll update the docs next chance I get. Thanks!