[erlang-questions] scope of variables

Vlad Dumitrescu <>
Mon Sep 4 20:35:03 CEST 2006

On 9/4/06, David Hopwood <> wrote:
> I'm also strongly of the opinion that hygiene should be an inherent property
> of a macro system, and not dependent on hacks like gensym or use of funky
> variable names. (It is OK to be able to *explicitly* declare that a variable
> should be captured; this is occasionally useful.)


I'm not sure if it's possible to have a hygienic macro system that
doesn't use gensym behind the scenes. I suppose you mean that the user
shouldn't have to bother with it. And of course he/she shouldn't!


More information about the erlang-questions mailing list