unquote in quasisyntax

Helmut Eller eller.helmut@gmail.com
Mon Feb 6 09:20:00 GMT 2012


* Per Bothner [2012-02-06 08:21] writes:

> Perhaps the cleanest solution is warn about the old unquote syntax
> *unless* srfi-72 is explicitly requested, with a require or import.
> Or perhaps that is overkill?  How many would like Kawa to really
> support SRFI-72?

R6RS semantics should be used instead of SRFI-72.  Dybvig and the Racket
gang seem to write all the relevant documentation about this stuff, so
using #, is less surprising.

I would like to see is that #,X is read as (unsyntax X) and #,@X as
(unsyntax-splicing X).  E.g. (car '#,1) should evaluate to the symbol
unsyntax.

Helmut



More information about the Kawa mailing list