I think "else" is bound.
R5RS 3.1.
> An identifier that names a type of syntax is called
> a syntactic keyword and is said to be bound to that syntax.
R5RS 7.1.
> <syntactic keyword> -> <_expression_ keyword>
> | else | => | define
> | unquote | unquote-splicing
"else" is syntactic keyword, and syntactic keyword is bound to syntax.
Alex Shinn scripsit:
> I think the correct behavior for (scheme r5rs) is that these remain
> undefined, and cond, case and quasiquote all match the absence of the
> bindings as in R5RS. This implies they are not just re-exported versions
> of the R7RS macros.
This seems more trouble than it's worth, particularly as R5RS is rather
vague on the treatment of auxiliary syntax keywords, and different R5RS
implementations do different things.
Takashi Kato scripsit:
> I believe R5RS library should export 'syntax-rules' since it's a bound symbol
> on R5RS but it's missing on R7RS small.
I agree that this is another auxiliary syntax keyword, and should be
treated like the rest.
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports