Isn’t that a matter of putting more syntax/loc? I tried:
(-define-syntax let-syntaxes
(lambda (stx)
(syntax-case stx ()
[(_ ([(id ...) expr] ...) body1 body ...)
(with-syntax ([((tmp ...) ...)
(map
generate-temporaries
(syntax->list (syntax ((id ...) ...))))])
(with-syntax ([inner-body
(syntax/loc stx
(letrec-syntaxes+values
([(id ...)
(values
(make-rename-transformer (quote-syntax tmp))
...)] ...)
()
body1 body ...))])
(syntax/loc stx
(letrec-syntaxes+values ([(tmp ...) expr] ...) ()
inner-body))))])))
and the button now functions as you expect.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAMTzy%2BZtpWGdtkZkvzF4%3D25kpqUqGKsBcCDf4T%3DY3S2hV0v_GA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAMTzy%2BY%3DgzoDviM5q8OhSsUcJnDUSxfnAVc7uZv2ZR97ckOnXA%40mail.gmail.com.