I see here https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure that "Atoms work as in Clojure.", but I think I see a difference:
1. I am using a custom type hierarchy in a namespace tiltontec.modeller.cell_types: (defonce ia-types (-> (make-hierarchy) (derive ::model ::object) (derive ::cell ::object) (derive ::c-formula ::cell))) 2. At the repl I switch to the cell types namespace and create an atom: (def my-formula (atom 42 :meta {:type ::c-formula})) 3. In Clojure: (type my-formula) => :tiltontec.modeller.cell-types/c-formula 4. In cljs: (type my-formula) => cljs.core.Atom Sanity check: (meta my-formula) => {:type :tiltontec.modeller.cell-types/c-formula} Am I missing something? -- 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 --- 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.