|
From: | Ivan Raikov |
Subject: | [Chicken-users] matchable 3.0 and SRFI-9 records |
Date: | Sun, 13 Feb 2011 18:52:18 +0900 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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? (x test-x) (y test-y) (z test-z)) (match-let ((($ test x y z) (make-test 'a 1 "two"))) (print x y z)) Error: (match) no matching pattern Call history: <syntax> [failure37] (quote660 match661) <syntax> [failure37] (##core#quote match661) ... etc ... Does this mean that SRFI-9 record matching is no longer supported? -Ivan
[Prev in Thread] | Current Thread | [Next in Thread] |