Hi, On Feb 4, 3:08 pm, Sean Devlin <francoisdev...@gmail.com> wrote: > Do we have a concise way of doing this? Is it actually useful? > http://www.artima.com/weblogs/viewpost.jsp?thread=281160
Yep, see clojure.contrib.types/match. I recently used it in an almost frivolous way in this thread, because I thought it was pretty and intensely readable: http://groups.google.com/group/comp.lang.lisp/msg/80cfc28feaf4a1e9 I can't say I haven't used pattern matching as much as I probably should, unless we count destructuring, regexes and an Eliza-like thing I once wrote as part of an NLP project. Haskellers seem to use it a lot, I get the impression. All the best, Tayssir -- 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