This thread just came up, while I was in the process of composing a mail on this topic to clojure-dev: https://groups.google.com/d/msg/clojure-dev/f6ULUVokXrU/3uue5okSAgAJ
2016-05-20 23:22 GMT+02:00 Dan Burton <[email protected]>: > What about something like > > (def obj #?(:clj Object :cljs js/Object)) > Unfortunately, doesn't work for cases, where you need to generate different syntax, eg `(try .. (catch Throwable e ...))` vs `(try ... (catch :default e ...))`. -- 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 --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
