Re: [racket-users] scopes across files

2019-06-11 Thread Eric Griffis
On Thu, Jun 6, 2019 at 12:19 AM Fastmail wrote: > > The `implement` macro needs to place its identifiers (say, `say`) inside > the lexical context of the calling site, so that they bind other code > coming in from the calling site (for instance, `(say 'hello)`). Thanks! This was incredibly helpfu

Re: [racket-users] scopes across files

2019-06-06 Thread Fastmail
> On Jun 3, 2019, at 11:52 AM, Eric Griffis wrote: > Several times now, I've run into one or another form of the following problem: > > Say I want to build primitives to > > declare an "interface" as a list of names, and > implement and use those names at run time in a limited scope The `imp

[racket-users] scopes across files

2019-06-03 Thread Eric Griffis
Several times now, I've run into one or another form of the following problem: Say I want to build primitives to 1. declare an "interface" as a list of names, and 2. implement and use those names at run time in a limited scope Concretely, I want to run the following code: (interface Speak