[racket] getting entire syntax object in define-syntax-class pattern clause

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Mon Nov 4 09:53:18 EST 2013

On 2013-11-04 06:56:22 -0500, Neil Van Dyke wrote:
> In "define-syntax-class", is there a way that the "#:attr"
> expression can get the syntax object that was matched by the syntax
> pattern?

I think `this-syntax` will let you do that.

Cheers,
Asumu

Posted on the users mailing list.