> I believe protocols can entirely alleviate the need for feature expressions.
How do you figure that? One major incompatibility between Clojure and ClojureScript currently is that the protocols don't match up. If you want a deftype form that is 90% the same, but has a conditional switch for a clojure.lang interface or a cljs.core protocol, then you need to have a conditional selection of forms *before* macro expansion time, where the deftype form is looking for symbols representing type names. There are plenty of cleaner solutions, like using extend-type, but those come at a performance cost and there is a unique solution for each type of compatibility problem you run into. The only generalized solution that makes sense to me (would love to hear others) is a preprocessing step. Here's my suggestion: http://dev.clojure.org/display/design/Feature+Expressions?focusedCommentId=6390066#comment-6390066 -- -- 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/groups/opt_out.