[plt-scheme] Help with understanding how to reuse macro data

From: Joe Marshall (jmarshall at alum.mit.edu)
Date: Fri Jan 2 17:18:56 EST 2009

On Fri, Jan 2, 2009 at 2:10 PM, Grant Rettke <grettke at acm.org> wrote:
> This seems ok because the data specification is static. I only thought
> about this just now, so I didn't dig any deeper yet. Is this a
> reasonable approach? If so, what is the best way to approach it?
> What is the right/idiomatic solution here? Or is this bad idea?

Just my 2 cents.

Use a function rather than a macro.

Macros are a great tool for syntactic abstraction, but you aren't
doing that.


Posted on the users mailing list.