On Sat, Aug 9, 2008 at 5:44 PM, Alex Shinn <[EMAIL PROTECTED]> 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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to