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 <j...@cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93
_________________________________________________
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-dev

Reply via email to