Is there any problem with namespacing clojure keywords in a non-existent namespace?

Posted by Rob Lachlan on Stack Overflow See other posts from Stack Overflow or by Rob Lachlan
Published on 2010-06-07T23:56:53Z Indexed on 2010/06/08 0:02 UTC
Read the original article Hit count: 407

Filed under:
|
|

Should I feel wary about creating clojure keywords which have non-existent namespaces?

An example would be :foo/bar, where namespace foo doesn't actually exist. This seems to be possible because these keywords behave like literals. I couldn't find any problems doing this in the REPL, but I'm concerned about possible problems with AOT compilation.

© Stack Overflow or respective owner

Related posts about namespaces

Related posts about clojure