[erlang-patches] R12B-? compiler patch for parameterized modules

Richard Carlsson <>
Thu Oct 2 10:05:49 CEST 2008


Joseph Wayne Norton wrote:
> As an aside, what is the motivation for having both :new and :instance
> support?  In hindsight, I would have just stuck with using :instance if
> I had known about it in the first place :).

It wasn't there in the first place - it was added along with the
experimental module inheritance functionality, to provide more control
over how instantiation is performed.

  http://www.erlang.se/euc/07/papers/1700Carlsson.pdf

    /Richard



More information about the erlang-patches mailing list