On Tue, Aug 9, 2011 at 6:34 AM, Ambrose Bonnaire-Sergeant <
abonnaireserge...@gmail.com> wrote:

> For those browsing the source, I'll give a quick run through of what's
> going on.


This means that the machinery is already exposed.  There's a bit of code
cleanup to do but the pattern matcher is meant to be *extensible*. So if you
spend some time to understand how the library works you can extend the
pattern matcher to deal with new kind of patterns. For example you may very
well decide that you'd like to do the following:

(match [s]
   ([(#"foo" :as m)] ...)
   ([(#"bar.*" :as m)] ...)

We may or may not add regex support to match, but it doesn't mean that you
shouldn't be able to. It will take some time to figure out what the precise
protocol is for this, but we're thinking about it as we implement the
current feature set.

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

Reply via email to