Parameterized/Abstract modules
Mark Scandariato
mscandar@REDACTED
Thu Mar 10 20:07:19 CET 2005
Perhaps (along the lines of Vlad's suggestion yesterday) the compiler could
notice that functions that don't reference the module's parameters (or THIS)
should be exported as "static"?
Mark.
Richard Carlsson wrote:
> Raimo Niskanen wrote:
>
>> I.e. I want to have functions that can be called without being
>> parameterized (sp?).
>
>
> Yes, my intention was that you should be able to write
>
> -static([f/1, g/2]).
>
> but I never got around to implementing it. (It should be
> rather easy, though.)
>
> /Richard
More information about the erlang-questions
mailing list