[racket] filtering syntax

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Mon Jan 16 09:28:01 EST 2012

On Mon, Jan 16, 2012 at 7:57 AM, Marijn <hkBst at gentoo.org> wrote:
>
>    ((_ ((id rule) ...))
>     (with-syntax (((dep ...) (free-vars (expand #'(rule ...)))))

You need to use `local-expand', not `expand', here.  Probably like this:

  (local-expand #'(rule ...) 'expression '())

-- 
sam th
samth at ccs.neu.edu



Posted on the users mailing list.