William D Clinger wrote, quoting me:
>> The case-sensitivity of #\space and \#newline in the R6RS make it 
>> dangerous to attempt to read R5RS data using the R6RS read procedure.
> 
> The case-sensitivity of symbols in the R6RS makes
> it dangerous to attempt to read R5RS data using the
> R6RS read procedure.  Case-sensitivity of #\space
> and #\newline in the R6RS does not add a whole lot
> to the danger that's already there.

If I read an R5RS symbol using the R6RS read procedure, I still get a 
symbol, although I may be surprised by its case. It is, however, easy to 
remove the possibility of surprise by using a procedure that replaces 
symbols in a datum by appropriately case-converted equivalents.

If I attempt to read #\SPACE or #\NEWLINE using the R6RS read procedure, 
I get a &lexical exception.

These seem quite differently dangerous to me.

Regards,

Alan

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to