[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] bug in default `match'
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] bug in default `match' |
Date: |
Mon, 11 Aug 2008 11:02:09 +0200 |
On Sat, Aug 9, 2008 at 5:44 PM, Alex Shinn <address@hidden> wrote:
> The following bit me today:
>
> ------------
> $ csi
> ...
> #;1> (match '(a . b) ((x) 1) ((x ...) 2) (x 3))
> 2
> ------------
>
> This is wrong because '(a . b) is an improper list and
> shouldn't match (x ...).
>
> The solution of course is to just (use matchable).
>
Yep, the Wright pattern matcher will be thrown out in the next
major chicken release anyway.
cheers,
felix