Hi,

On Aug 24, 8:51 pm, Konrad Hinsen <konrad.hin...@fastmail.net> wrote:

> > Yes. The trick is that
> > (keyword 'x/y)
> > is different from
> > (ns x)
> > ::y
>
> Not in my copy of Clojure:
>
> user=> (ns x)
> nil
> x=> ::y
> :x/y
> x=> (identical? ::y (keyword 'x/y))
> true

This does not work in Clojure 1.0. As well as (keyword 'x/y) throws an
exception there.

    Clojure
    1:1 user=> (keyword 'x/y)
    java.lang.ClassCastException: clojure.lang.Symbol (repl-1:1)
    1:2 user=> (identical? ::y (keyword "user/y"))
    false

Sincerely
Meikel

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

Reply via email to