for some reason, it looks like the implementation of the ns macro assumes that the macro itself is being defined in namespace clojure.core
try defining myns in the namespace clojure.core, and it should work cheers, Gianluca On Tuesday, December 1, 2015 at 9:49:08 PM UTC+1, Gregg Reynolds wrote: > > I'm trying to extend ns, to add some functionality, but it's not working. > Is it even possible? If not, is there a way to implement a custom > version? I can defmacro my-ns in namespace foo and then start a file with > (foo/my-ns ...), but I can't get it to behave like ns (I copied the ns code > from core.) Plus I want (my-ns...), without the foo/. > > Suggestions? > > Gregg > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.