[erlang-questions] question: macro definition

Richard Carlsson <>
Tue Jan 15 15:02:40 CET 2008


Ahmed Ali wrote:
> Does that mean 
> if I cannot define a macro with the same name even though they have 
> different arity?

Yes. Erlang functions can have different arities, but macros are a
completely different thing. You cannot have two macros with the same name.

     /Richard






More information about the erlang-questions mailing list