(define (foo . bar) ...) is valid, which your rule would not match given:
(define (<identifi er> <def formals>) <body>) On Tue, Jan 15, 2013 at 4:29 PM, ノートン ジョーセフ ウェイ ン <[email protected] > wrote: > > Hello. > > I'd like to confirm if these are typos or not with <def formals> and > <definition> of section 7.1.6 of R7RS draft 8. > > > draft 8: > > ⟨def formals⟩ → ⟨identifier⟩* | ⟨identifier⟩* . ⟨identifier⟩ > > correct?: > > ⟨def formals⟩ → ⟨identifier⟩* | ⟨identifier⟩+ . ⟨identifier⟩ > > > draft 8: > > | (define-values ⟨def formals⟩ ⟨body⟩) > > correct?: > > | (define-values "(" ⟨def formals⟩ ")" ⟨body⟩) > > > regards, > > Joe N. > > _______________________________________________ > Scheme-reports mailing list > [email protected] > http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports > > -- http://codeplex.com/IronScheme http://xacc.wordpress.com
_______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
