[plt-scheme] Using the struct type identifier as a macro [PATCH]

From: Jens Axel Soegaard (jensaxel at soegaard.net)
Date: Mon Nov 17 12:19:04 EST 2008

Dimitris Vyzovitis wrote:
> The patch is non-invasive: it modifies the default macro of the meta
> struct to expand when there is a constructor identifier in the 
> metadata instead of barfing.  So, unless there is a test that forcibly 
> looks for a syntax error when using the struct type identifier, it 
> shouldn't fail any.
 > Did you run into a problem? (No, I haven't run the testsuite yet)

No, I didn't read the patch closely, so I didn't get how it worked.
Your solution is quite elegant.

Still, it might be worth running the test suite nonetheless - just in
case ;-)

-- 
Jens Axel Søgaard



Posted on the users mailing list.