Oh, that's my problem: i obviously don't understand what's the places where macro expansion happens. I ended up writing "classical" lisp non-hygienic macro instead. It's a sad thing that I cannot find a book or text as clear as PG's "On Lisp" that covers Racket's hygienic macros in such detailed manner. :( Racket Noob
> Date: Fri, 12 Aug 2011 07:39:16 -0500 > Subject: Re: [racket] Problem with macro > From: ro...@eecs.northwestern.edu > To: clkl...@eecs.northwestern.edu > CC: jay.mccar...@gmail.com; users@racket-lang.org; racketn...@hotmail.com > > Unfortunately, that position in a 'case' expression is not a place > where macro expansion happens. You can, however, use a 'cond' instead > of 'case'. > > Robby >
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users