Re: [racket-users] macro definitions with #lang racket/base vs #lang racket

2017-03-14 Thread NeverTooOldToCode
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:

Re: [racket-users] macro definitions with #lang racket/base vs #lang racket

2017-03-14 Thread Philip McGrath
#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

[racket-users] macro definitions with #lang racket/base vs #lang racket

2017-03-14 Thread NeverTooOldToCode
>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