I'm trying to write a macro that translates a list into a procedure.
Here's a very simplified version of my code:
(define spec '(foo))
(define (process-spec spec)
(if (pair? spec)
'(lambda x x)
(error oops)))
(define-macro (spec-proc a-spec)
(process-spec a-spec))
#
On 1/5/06, Reed Sheridan [EMAIL PROTECTED] wrote:
I'm trying to write a macro that translates a list into a procedure.
Here's a very simplified version of my code:
(define spec '(foo))
(define (process-spec spec)
(if (pair? spec)
'(lambda x x)
(error oops)))
(define-macro