When should clojure keywords be in namespaces?
Posted
by Rob
on Stack Overflow
See other posts from Stack Overflow
or by Rob
Published on 2010-03-20T04:55:43Z
Indexed on
2010/03/20
5:01 UTC
Read the original article
Hit count: 299
In clojure, keywords evaluate to themselves, e.g.:
>>:test
:test
They don't take any parameters, and they aren't bound to anything. Why then, would we need to qualify keywords in a namespace?
I know that creating isa hierachies using derive requires namespace qualified keywords. Are there any other cases where there is a clear need for keywords to be in a namespace?
© Stack Overflow or respective owner