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

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Mon Nov 4 06:56:22 EST 2013

In "define-syntax-class", is there a way that the "#:attr" expression 
can get the syntax object that was matched by the syntax pattern?

Reason: I'd like to use the syntax object in things like runtime errors 
and perhaps in non-error runtime debugging info.

Neil V.


Posted on the users mailing list.