chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Re: Chicken 4 syntax-rules bug


From: Jim Ursetto
Subject: [Chicken-users] Re: Chicken 4 syntax-rules bug
Date: Thu, 5 Mar 2009 12:54:01 -0600

On Thu, Mar 5, 2009 at 12:28 PM, Jim Ursetto <address@hidden> wrote:
> It looks like an ellipsis form matches after just checking
> the first pattern, without checking subsequent patterns.

This wasn't quite correct.  It seems that, if you have a pair in your
pattern followed by an ellipsis, it's enough to have any pair in your
input; the structure of the pair is not checked.

So in the previous example, (foo (1)) also gives an internal error, as
it matches the pattern (foo (a b) ...).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]