Re: [racket-users] identifier used out of context

2020-06-09 Thread Anthony Carrico
On 6/9/20 12:57 PM, Anthony Carrico wrote: > (letrec ((super0 (combine initial (overlay0 self initial))) > (super1 (combine super0 (overlay1 self super0))) > (super2 (combine super1 (overlay2 self super1))) > ;; etc... > (final superN)) > ;; "self" is the desir

Re: [racket-users] identifier used out of context

2020-06-09 Thread Anthony Carrico
On 6/7/20 9:23 PM, Alexis King wrote: >     #lang racket >     (define-syntax-rule (m) (displayln 'old)) >     (let () >       (m) >       (define-syntax-rule (m) 'new) >       (void)) I think you meant: (define-syntax-rule (m) (displayln 'old)) (let () (m) (define-syntax-rule (m) (displayln

Re: [racket-users] identifier used out of context

2020-06-07 Thread Alexis King
> On Jun 7, 2020, at 17:44, Sorawee Porncharoenwase > wrote: > > Wow, so block is currently buggy?! > This issue isn’t with `block`, per se (though `block` could cooperate more nicely with definition context expansion to avoid this problem). You can reproduce it without any first-class defin