[racket] syntax-parse and literals

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Fri Sep 2 22:02:59 EDT 2011

On 2011-09-02 19:36:01 -0600, Jay McCarthy wrote:
> syntax-parse requires literals to be bound, it will never match just
> based on the identifier symbol

You can get around this by using the ~datum pattern. There's a margin
note next to the #:literals description that remarks on that.

Cheers,
Asumu


Posted on the users mailing list.