Herwig Hochleitner <hhochleit...@gmail.com> writes:

Hi Herwig,

> I want to match vectors of the form [(some expr) :as :label], but  #(match
> [%] [[expr :as (label :when keyword)]] {:expr expr :label label}) throws a
> compiler exception: Unable to resolve symbol expr

Isn't the order value/key in map pattern?

  {expr :expr, label :label}

That said, I've not yet come to play with core.match, but I've seen
David's talk at the NY (?) Clojure User Group, yesterday. ;-)

Bye,
Tassilo

-- 
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