On Monday, April 15, 2013 2:50:11 AM UTC+2, David Della Costa wrote:
> If you give keyword two arguments the first one is the namespace, and
> you are generating a namespaced keyword. To expand on your example:
>
> clojure.core=> (in-ns 'm)
> #<Namespace m>
> m=> (clojure.core/keyword "m" "7")
> :m/7
> m=> {::7 "foo"}
> {:m/7 "foo"}
> m=>
>
OP's point here is that *:m/7* produces an error, whereas e.g. *:m/a* or *
::7 *doesn't.
-marko
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.