> On May 16, 2017, at 11:26 AM, Robby Findler <ro...@eecs.northwestern.edu> 
> wrote:
> If you have control of the language<%> class, then you can do that via
> the on-execute method. If you want to do that for all languages (which
> is probably not a good idea, but you could use this approach and limit
> it to a known set of languages), you could override the on-execute
> method of the rep<%> object (you can add a mixin). Use this to attach
> a module to the namespace of the user's program (e.g.,
> #%my-private-state) that has minimal dependencies, and then some
> library you write would require that module and provide a nice
> interface, once it gets a hold of that minimal piece of state.

Are there instances of language<%> that are used when the user has the language 
level set to “use language declared in source” ? I’ve just spent a few minutes 
looking over the DrRacket documentation for ‘read-language’, and this 
documentation is suggesting to me that the language<%> interface is not used 
for #lang-based languages, though I really can’t be sure. At a minimum, I’m not 
seeing any references to language<%> in the section labeled "DrRacket support 
for #lang-based Languages”. 


You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to