Is it possible to simplify the backquote construct `(,x_1 ... ,x_k)
(always unquote on all arguments) somehow, so that the unquote does
not need to appear multiple times (depending on k)? (I construct these
in the C-interface, and it would simplify not having to remove a
sequence of them.)
Specifically, in
(define g (lambda (x . y) `(,x . ,y)))
then evaluations like (g 1 2 3), (g 1 2 . (3 4)) work.
So I would want something like
(define g (lambda (x . y) (b x . y))))
where (b x . y) might be any expression where the unquote does not
need to appear on every variable. Only combinations line
(define g (lambda (x . y) (b `(,x . ,y))))
seem to work.
Hans