On Mon, May 9, 2016 at 1:41 PM, Kevin Forchione <lyss...@gmail.com> wrote:

> (with-syntax ([name (format-id stx "~a-~a" #'a #'b)])


Change this line to:

(with-syntax ([name (format-id stx "~a-~a" (syntax-e #'a) (syntax-e #'b))])

Using syntax-e explicitly gets the value out of the syntax objects #'a &
#'b.

(I'm not sure why the original worked)

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