Re: [racket-dev] generate-temporaries and #%top

2013-07-10 Thread Ryan Culpepper
This sounds like a job for the zero-values define-syntaxes trick, documented here: http://docs.racket-lang.org/reference/syntax-model.html#%28part._macro-introduced-bindings%29 Ryan On 07/10/2013 03:40 PM, Carl Eastlund wrote: I'm having trouble with some of the features of define-generics i

[racket-dev] generate-temporaries and #%top

2013-07-10 Thread Carl Eastlund
I'm having trouble with some of the features of define-generics in top-level contexts. Specifically, if I generate any names with generate-temporaries, and there are forward references to them in the expanded code, then the forward reference fails to expand because #%top is not bound in the contex