Re: [Chicken-users] matchable 3.0 and SRFI-9 records

2011-02-15 Thread Alex Shinn
On Sun, Feb 13, 2011 at 6:52 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:   It appears that the following pattern no longer works with matchable 3.0 (Chicken 4.6.5): Sorry about that, stupid copypaste error, fixed now. -- Alex ___ Chicken-users

Re: [Chicken-users] matchable 3.0 and SRFI-9 records

2011-02-15 Thread Alex Shinn
On Sun, Feb 13, 2011 at 9:52 PM, Felix fe...@call-with-current-continuation.org wrote: Talking about matchable: I always wondered whether this should work:  (match '(...)    (('...) 'yep)) This is: (match (quote ...) ((quote ...) 'yep)) so the pattern is trying to match a list and

Re: [Chicken-users] matchable 3.0 and SRFI-9 records

2011-02-15 Thread Ivan Raikov
Thanks for restoring my sanity ;-) This was breaking a substantial amount of code I am working on. -Ivan Alex Shinn alexsh...@gmail.com writes: On Sun, Feb 13, 2011 at 6:52 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:   It appears that the following pattern no longer works with

[Chicken-users] matchable 3.0 and SRFI-9 records

2011-02-13 Thread Ivan Raikov
Hi all, It appears that the following pattern no longer works with matchable 3.0 (Chicken 4.6.5): (use matchable) (define-record-type test (make-test x y z) test? (xtest-x) (ytest-y) (ztest-z)) (match-let ((($ test x y z) (make-test

Re: [Chicken-users] matchable 3.0 and SRFI-9 records

2011-02-13 Thread Alex Shinn
On Sun, Feb 13, 2011 at 6:52 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:   It appears that the following pattern no longer works with matchable 3.0 (Chicken 4.6.5): [...]  (match-let ((($ test x y z) (make-test 'a 1 two)))               (print x y z))  Error: (match) no matching