Hi all,
Ran into what appears to be a bug tonight. This is the simplest example I
could come up with:
(defn f [xs]
(match xs
[:a] "a"
[:b b] b
[:c] "c"
:else "problem!"))
[:a] and [:b b] can be matched with no problems, but [:c] can't be matched
for some reason:
user=> (f [:a])
"a"
user=> (f [:b 1])
1
user=> (f [:c])
"problem!"
I'm using Clojure 1.3 and core.match 0.2.0-alpha8.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en