[plt-scheme] moving macros from top-level to module-level
The simplest solution is to change ,function here
At Sat, 17 Jul 2004 13:23:01 -0400, Felix Klock's plt proxy wrote:
> (define-syntax define-lazy/3
> [...]
> (define-syntax ,#'OP
> (syntax-rules ()
> [(,#'OP ,@(syntax-e #'(ARG ...)))
> (,function ,@(map (lambda (arg-stx)
--------------------^
to
(#%top . ,function)
I think there should be a better solution to this problem --- something
in the macro system that would make your original code work --- but
I've never found it.
Matthew