Certainly it does work the same way in JVM-Clojure:

user=> (gensym)
G__1278
user=> (gensym)
G__1281
user=> (gensym)
G__1284
user=> (= 'G__1287 (gensym))
true

Whether that's a bug or a case of "If it breaks when you do that, then 
don't do it" isn't for me to say, but I would be pretty surprised to hear 
that Rich doesn't already know about this behavior.

On Thursday, January 3, 2013 4:44:34 PM UTC-8, David Little wrote:
>
> Open a fresh ClojureScript REPL and type:
>
> > (def symbol1 'G__1)
> G__1
> > (def symbol2 (gensym))
> G__1
> > (= symbol1 symbol2)
> true
>
> Looks like a bug to me. It certainly doesn't work that way in Clojure 
> (though the ordering of these statements matters). I googled around but 
> didn't see any other reports of this.
>

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