﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1794	(r7rs) syntax-rules doesn't allow combining ellipsis and dotted tail	sjamaan		"According to the R7RS spec, the following should match:

{{{
(define-syntax match-ellipsis-and-dotted-tail1
  (syntax-rules ()
    ((_ a ... . b)
     '(a ... b))))

(print (match-ellipsis-and-dotted-tail1 x y . z))
}}}

And this, too:

{{{
(define-syntax match-ellipsis-and-dotted-tail2
  (syntax-rules ()
    ((_ (a) ... . (b))
     '(a ... b))))

(print (match-ellipsis-and-dotted-tail2 (x) (y) z))
}}}

Both should print `(x y z)`.

Might be nice to support this in the core `syntax-rules`, or if it's too tricky, we could just support it only in the R7RS egg."	defect	closed	major	6.0.0	unknown	5.3.0	duplicate	r7rs, syntax-rules, macros	evhan	medium
