That's ok by me. On Nov 30, 4:16 pm, David Nolen <dnolen.li...@gmail.com> wrote: > > So you want to use match for matching forms without having to quote > everything? > > (let [e '(plus 2 3)] > (match e > ['plus x y] (+ x y))) > > To me the above would be ideal. Then it would be trivial for you to write > macro over match say match-syntax which converts from this form: > > (let [e '(plus 2 3)] > (match-syntax e [plus] > (plus x y) (+ x y))) > > A quick sketch - kinda syntax-rules-y. Probably something better lurking. > > David
-- 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