[erlang-questions] OTP-9649 and further changes
Tue Jan 17 08:32:17 CET 2012
So, if OTP will not support this kind of trick since R16, that meant the
Misultin has to upgrade codes?
On Wed, Jan 11, 2012 at 12:36 AM, Yurii Rashkovskii <yrashk@REDACTED>wrote:
> > Why do you need wrapping module name in a tuple? It works without it:
> > Eshell V5.9 (abort with ^G)
> > 1> erlang:length([1,2,3]).
> > 3
> > 2> M = erlang.
> > erlang
> > 3> M:length([1,2,3]).
> > 3
> > Is there any case when wrapping is necessary, which I'm missing?
> That was just a minimal (and useless) case of how tuple modules
> behave. This is a far bigger deal when you have records (or just
> tagged tuples) and modules named according to them. One of the real
> use cases is misultin_req:
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions