I believe this is a bug in Chicken 4. It works in Chicken 3 with the
syntax-case egg, and in Scheme 48. It looks like an ellipsis form
matches after just checking the first pattern, without checking
subsequent patterns.
(define-syntax foo
(syntax-rules () ((_ (a b) ...)
On Thu, Mar 5, 2009 at 12:28 PM, Jim Ursetto zbignie...@gmail.com wrote:
It looks like an ellipsis form matches after just checking
the first pattern, without checking subsequent patterns.
This wasn't quite correct. It seems that, if you have a pair in your
pattern followed by an ellipsis,
FYI: The link on the PS-tk egg wiki page seems dead. I did see some docs for
PS-tk on sourceforge: http://sourceforge.net/projects/pstk
If desired I can cut 'n paste the sourceforge doc into the wiki but no
promises on keeping all the formatting (although I'll try)