> On Jul 13, 2016, at 11:22 AM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
> 
> At Wed, 13 Jul 2016 11:10:30 -0400, Alex Knauth wrote:
>> Ok. Is there a way to set up a namespace that would have those local 
>> variables? Would a `(#%variable-reference)` help here? Or is there a way to 
>> get all of the identifiers from the lexical context of a syntax object? 
> 
> No, there's no way to dynamically access a location that corresponds to
> a local variable. Every reference to a local variable must be apparent
> in a fully expanded expression; the compiler doesn't support access
> after the fact.

Thanks. So defining it as a function won't work. But if I define it as a macro, 
can I get more information out of it?

Alex Knauth

-- 
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