[plt-scheme] define-struct-for-syntax?
Kimberley Burchett
kim.burchett at gmail.com
Sat Jul 15 12:37:04 EDT 2006
Is there any way to define a struct in the transformer environment
other than putting it in a separate module and then
require-for-syntax'ing that module? I tried wrapping the
define-struct in a begin-for-syntax, but got an error saying "syntax
definitions not allowed within begin-for-syntax".
The separate module hack works, obviously, but it makes me sad.
--
Kimberley Burchett
http://www.kimbly.com/
More information about the plt-scheme
mailing list