Continuing my exploration of ClojureScript.. I'm writing a small query language. The syntax consists of data structures like
[:button {:name "Login"}] In general maps are interpreted as filters. The keys of the maps correspond to method on JavaScript objects (that I don't control). So I want to reflectively call a method on a JavaScript object based on the string name of the map keys. In JavaScript I'd use square brackets for dynamic property lookup: obj[method]() Is there an equivalent ClojureScript approach? I realize that such dynamic property lookup may be in conflict with Advanced optimizations, however, I need it for this case, and I can live with simple optimizations for this program. - Karl -- 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