[R6RS] (let-syntax () ) valid?

Michael Sperber sperber at informatik.uni-tuebingen.de
Tue Aug 22 11:39:05 EDT 2006

dyb at cs.indiana.edu writes:

>> Can the <body> of a `let-syntax' or `letrec-syntax' be empty?
>> I.e. do we have 
>> <sequence> -> <expression>* 
>> rather than
>> <sequence> -> <expression>+
>> in that case?
> A let-syntax or letrec-syntax expression should, like a begin expression,
> contain one or more expressions.  A let-syntax or letrec-syntax definition
> should, like a begin definition, contain zero or more definitions. 

Just to make sure I'm doing nothing wrong:

(let () (let-syntax ()) 5)

is OK, right?  (I'm asking mainly because Petite Chez 6.0a doesn't
accept it.)

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

More information about the R6RS mailing list