[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),
cheers,
felix
- [Chicken-users] pattern matching, F. Wittenberger, 2008/10/03
- Re: [Chicken-users] pattern matching,
felix winkelmann <=
- Re: [Chicken-users] pattern matching, F. Wittenberger, 2008/10/07
- Re: [Chicken-users] pattern matching, felix winkelmann, 2008/10/08
- Re: [Chicken-users] pattern matching, F. Wittenberger, 2008/10/08
- Re: [Chicken-users] pattern matching, felix winkelmann, 2008/10/09
- Re: [Chicken-users] pattern matching, felix winkelmann, 2008/10/09
- Re: [Chicken-users] pattern matching, F. Wittenberger, 2008/10/09
- Re: [Chicken-users] pattern matching, felix winkelmann, 2008/10/09