For what it's worth, Matthias' original answer has solved an issue I had. I was using identifier-binding for something very similar and it worked fine, except in my scribble examples. I had example 1 define foo, but then example 2 (with the same evaluator) would not "see" foo via identifier-binding, so it redefined foo instead of appending to foo. Using syntax-local-value instead seems to have fixed it (pending further testing).
-- 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.