Thank you!
I see now that the very same question was already asked on this list in 2015,
by a compatriot of mine no less. It didn't show up in my online searches
beforehand, the keyword missing was "transformer environment".
On Tuesday, March 14, 2017 at 1:05:31 PM UTC+1, Philip McGrath wrote:
#lang racket also provides racket/base in the transformer environment.
-Philip
On Tue, Mar 14, 2017 at 5:45 AM, NeverTooOldToCode
wrote:
> From Fear of Macros again, all input in the DrRacket definition window.
>
> This works:
>
> #lang racket/base
>
> (require (for-syntax racket/base))
>
> (de
>From Fear of Macros again, all input in the DrRacket definition window.
This works:
#lang racket/base
(require (for-syntax racket/base))
(define-syntax (show-me stx)
(display stx)
#'(void))
If you mouse-hover over the keywords, define-syntax is imported from #lang
racket/base, and displa
3 matches
Mail list logo