Done!

On Saturday, December 10, 2011 9:08:22 AM UTC-7, David Nolen wrote:
>
> Please open a ticket on JIRA with this case - 
> http://dev.clojure.org/jira/browse/MATCH
>
> Thanks!
> David
>
> On Sat, Dec 10, 2011 at 5:33 AM, Benny Tsai <benny...@gmail.com> wrote:
>
>> 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 clo...@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+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>
>
>

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