On Mon, Mar 23, 2009 at 3:27 AM, Mark Engelberg
<mark.engelb...@gmail.com> wrote:
>
> I suspect that if you use double-colon keywords for the keys, you get
> a bit more privacy in the sense that these keys are slightly harder to
> accidentally manipulate from other namespaces, so perhaps that could
> at least be an informal convention for "this is private".

I hadn't run across :: before. How do you determine the namespace of a
keyword? I'd like to see the difference between

(def k1 :a)  and  (def k2 ::b)

Of course both create vars (k1 and k2) in the user namespace by
default, but I want to understand the difference between :a and ::b.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to