Parameterized/Abstract modules

Dan Gudmundsson dgud@REDACTED
Tue Mar 15 13:13:29 CET 2005

Shouldn't we turn it around then and have
the "static"/"normal functions" in the ordinary export list and
make a new list for the paramterized functions?


What do you think of the other suggestion, removing the
autogenerated new/lenght(Params) and letting the coder
call a bif when (s)he wants to create a new parameterized module?

So we can overload the "constructor" function.


Richard Carlsson writes:
 > 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