On Fri, Aug 12, 2011 at 7:49 AM, Casey Klein <clkl...@eecs.northwestern.edu> wrote: > On Fri, Aug 12, 2011 at 7:39 AM, Robby Findler > <ro...@eecs.northwestern.edu> wrote: >> Unfortunately, that position in a 'case' expression is not a place >> where macro expansion happens. You can, however, use a 'cond' instead >> of 'case'. >> > > But you still can't use a macro like `process-state' to generate an > entire `cond' clause (i.e., the question part AND the answer part).
Oh, right. You'd have to break it up into two macros. Or I guess you can try to generate 'if' expressions (but the nesting has to change). Robby _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users