|
From: | Kon Lovett |
Subject: | Re: [Chicken-users] match and syntax-case conflict? |
Date: | Sun, 3 Feb 2008 10:49:02 -0800 |
On Feb 3, 2008, at 10:38 AM, Jacques Vidrine wrote:
Hello, Is it not currently possible to use match and syntax-case together? $ csi -n CHICKENVersion 3.0.0 - macosx-unix-gnu-x86 [ manyargs dload ptables applyhook ] (c)2000-2008 Felix L. Winkelmann compiled 2008-01-31 on madman (Darwin)#;1> (load-verbose #f) #;2> (use match) #;3> (match '(1 2) [(a . b) b]) (2) #;4> (use syntax-case) #;5> (match '(1 2) [(a . b) b]) Error: invalid syntax: (a . b) #;5> ^D
Use the 'matchable' egg. The "hygienic" match macro. HTH
Cheers, -- Jacques _______________________________________________ Chicken-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users
Best Wishes, Kon
[Prev in Thread] | Current Thread | [Next in Thread] |