[plt-dev] identifier-prune-lexical-context

From: Eli Barzilay (eli at barzilay.org)
Date: Sun May 17 09:28:42 EDT 2009

On May 17, Matthew Flatt wrote:
> Use `quote-syntax/prune' or `identifier-prune-lexical-context' to
> potentially reduce bytecode size when an identifier's context won't
> be transferred to other syntax objects --- or perhaps only to
> '#%top, which `quote-syntax/prune' excludes from pruning in addition
> to the identifier's symbol. Pruning probably is not worthwhile on a
> macro template, but it can be useful in the expansion of forms like
> `define-struct' and `package' that keep lists of identifiers.

Is there some example to demonstrate such a use?

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the dev mailing list.