--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibi-scheme+unsubscribe@googlegroups.com.
To post to this group, send email to chibi-...@googlegroups.com.
Visit this group at https://groups.google.com/group/chibi-scheme.
For more options, visit https://groups.google.com/d/optout.
SRFI 149 proposes to relax this restriction, but Al* Petrofksy
points out that the resulting semantics are not well defined in
http://srfi-email.schemers.org/srfi-149/msg/5375889. We could
choose and specify the semantics, but I'm not sure there is
a definition that will work intuitively in all cases.
(define-syntax foo2
(syntax-rules ()
((foo2 (axis ...) (coordinate ...) :::)
'(((axis coordinate) ...) :::))))
(foo2 (x y) (1 2) (3 4))
=> (((x 1) (y 2))
((x 3) (y 4)))
(define-syntax foo2
(syntax-rules ()
((foo2 (axis :::) (coordinate ...) :::)
'(((axis coordinate) ...) :::))))
(foo2 (x y) (1 2) (3 4))
=> (((x 1) (x 2))
((y 3) (y 4)))