Hi all, Is it possible to make a variant of this program work or is this a top-level hopelessness issue?
#lang racket/load (define-syntax (m stx) (define x (car (generate-temporaries '(1)))) (syntax-case stx () [(_ lib name) #`(begin (require (only-in lib [name #,x])) (define-syntax name (make-rename-transformer (quote-syntax #,x))) name)])) (m racket/base values) This results in an undefined id error, but it's not obvious to me why that should be the case. Maybe I'm overlooking something obvious though? Cheers, Asumu -- 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.