I am trying to define symbols to themselves in quote. I can do this define by define like so:
#lang racket
(define a 'a)
(define b 'b)
But if I want to do this for a lot of values how would I go about it? I know there is define-values
but how can I extract the variable names from a list?
(define vs '(a b))
(define-values ??? (apply values vs))
EDIT: soegaard's answer works well. As a follow-up, how would you do the same for define-syntax-rule
(or an equivalent using other macro definition functions) i.e. have a
be replaced by 'a
on a syntax level?