[erlang-questions] [semi-ot] introducing constants and include (that can include erlang code) in efene

Richard O'Keefe ok@REDACTED
Thu Aug 18 03:56:35 CEST 2011


On 17/08/2011, at 11:09 PM, Mariano Guerra wrote:
>> Concerning hygienic macros, the crucial thing is that identifiers in
>> the expansion of a macro refer to those visible at its definition
>> point, unless they come from arguments.  This can be handled by
>> renaming, which doesn't sound terribly hacky to me.
> 
> do you think that something like collecting variable names from the
> outer contexts and checking if there are collision names and renaming
> the names that collide is the best way to do it?

Yes.





More information about the erlang-questions mailing list