[racket] filtering syntax

From: Marijn (hkBst at gentoo.org)
Date: Tue Jan 17 04:06:11 EST 2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16-01-12 15:28, Sam Tobin-Hochstadt wrote:
> 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 '())
> 

If I use that instead I still get the same error. Perhaps it needs to
be something like:

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

but '(id ...) is not in the right form...

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8VOgMACgkQp/VmCx0OL2zSlQCgodcc3RdsezlEkxk2YF5vR4+7
GBQAn019t+rljHqc0v2JhBhBfSxpeill
=lqGK
-----END PGP SIGNATURE-----


Posted on the users mailing list.