[plt-scheme] moving macros from top-level to module-level

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jul 21 12:16:12 EDT 2004

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



Posted on the users mailing list.