| From: Dave Gurnell (d.j.gurnell at gmail.com) Date: Thu Oct 16 05:15:10 EDT 2008 |
|
Michael Sperber wrote:
> [...]
>
> Following suggestions from previous posts, I've tried various
> incantations of `require-for-syntax' and `require-for-template', but
> to
> no avail.
Ah, that old chestnut. The incantation you are seeking is:
#lang scheme/base
(require (for-syntax scheme/base))
(define-syntax foo
(lambda (stx)
(syntax-case stx ()
((_ ?bar) #'?bar))))
Hope this helps,
Cheers,
-- Dave
| Posted on the users mailing list. |
|