[plt-scheme] Macro-expansion-time structs

From: Henk Boom (lunarc.lists at gmail.com)
Date: Sat Oct 11 21:02:28 EDT 2008

I want to define a struct to use in a macro at expansion time, but
since define-struct defines the construction/utility functions itself,
I cannot use define-for-syntax. As a workaround I have put the
structure definition in a separate module and require it with
for-syntax, but is there a better way to do this?


Posted on the users mailing list.