[racket] Macros and literal-id

From: Harry Spier (harryspier at hotmail.com)
Date: Tue Aug 9 01:15:01 EDT 2011


Dear list members,

Are there any actual examples in the on-line documentation (guide or reference) showing the use of "literal-id" in a syntax-rules statement.
I.e. in:
(define-syntax id
  (syntax-rules (literal-id ...)
    [pattern template]
    ...))

And if not, would it be possible for someone to give a simple example of its use.

Thanks in advance,
Harry Spier

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110809/a6cfa11a/attachment.html>

Posted on the users mailing list.