I write stuff like this a lot:
(for ([s (in-list shapes)])
(match s
[
I would love to write
(for ([(struct rect (i x y h w)) (in-list shapes)])
with some annotation.
There is an obvious hack macro... but can anyone think of a good way
that scales with the many for forms and sequence types etc?
Jay
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93