[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Typos with R7RS draft 8 section 7.1.6 <def formals> and <definition> ?



(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, ノートン ジョーセフ ウェイ ン <norton@x> 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| ⟨identifieridentifier

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
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports




--
http://codeplex.com/IronScheme
http://xacc.wordpress.com
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports