[Top][All Lists]

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

Re: [Chicken-users] pattern matching

From: felix winkelmann
Subject: Re: [Chicken-users] pattern matching
Date: Tue, 7 Oct 2008 09:41:11 +0200

On Fri, Oct 3, 2008 at 6:56 PM, Jörg F. Wittenberger
<address@hidden> wrote:
> Hi,
> I noticed that match was gone and found "matchable" from the eggs
> positioned as if it was the suggested alternative.  Or am I missing
> something?
> Now let's try:
> (print (match '(lambda (a b) (+ a b))
>              ((_ llist body ...) (vector llist body ...))))
> (uses match) on chicken 3 did match that; matchable doesn't.

The second "..." is incorrect (body is matched with the remaining list),


reply via email to

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