Re: [racket-users] Dynamic-require a compile-time identifier?

2017-01-21 Thread Alex Knauth
> On Jan 21, 2017, at 6:27 PM, Dupéron Georges > wrote: > > I was going to suggest `dynamic-require-for-syntax`, but it seems to do > exactly the same thing as `dynamic-require`, i.e. give the value of a phase-0 > provided identifier. Is this normal? > > The

[racket-users] Dynamic-require a compile-time identifier?

2017-01-18 Thread Alex Knauth
Is there a way to dynamic-require an identifier provided at phase 1? #file x.rkt #lang racket (provide (for-syntax x)) ; x is provided at phase 1 (define-for-syntax x 3) #file use.rkt #lang racket (dynamic-require-from-phase-1 "x.rkt" 'x) ;=> 3 I could do it by defining another module that did