>Is this a bug in the conversion of the clojure keyword to the>JavaScript
>object?
I think there's probably an issue with string conversion in your
program. In ClojureScript keywords are not separate objects. Instead
they are simply strings that start with a bizarre unicode character.
Example from core.cljs:
(defn string? [x]
(and (goog/isString x)
(not (or (= (.charAt x 0) \uFDD0)
(= (.charAt x 0) \uFDD1)))))
(defn keyword? [x]
(and (goog/isString x)
(= (.charAt x 0) \uFDD0)))
I'd start at the repl and investigate out the Unicode values. That may
help debug this a bit.
Timothy
--
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