[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: |
Wed, 8 Oct 2008 09:25:14 +0200 |
On Tue, Oct 7, 2008 at 12:21 PM, Jörg F. Wittenberger
<address@hidden> wrote:
>
> Uhm, try:
>
> (print (match '(lambda (a b) (+ a b))
> ((_ llist body ...) #t)))
>
> Ellipsis do somehow not match at all.
#;1> (use matchable)
; loading /home/fwinkel/todo/hygienic/lib/chicken/4/matchable.import.so ...
; loading /home/fwinkel/todo/hygienic/lib/chicken/4/scheme.import.so ...
; loading /home/fwinkel/todo/hygienic/lib/chicken/4/chicken.import.so ...
; loading /home/fwinkel/todo/hygienic/lib/chicken/4/matchable.so ...
#;2> (print (match '(lambda (a b) (+ a b))
((_ llist body ...) #t)))
#t
#;3>
Hm...
cheers,
felix
- [Chicken-users] pattern matching, F. Wittenberger, 2008/10/03
- Re: [Chicken-users] pattern matching, felix winkelmann, 2008/10/07
- Re: [Chicken-users] pattern matching, F. Wittenberger, 2008/10/07
- Re: [Chicken-users] pattern matching,
felix winkelmann <=
- 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