strange?
Hakan Mattsson
hakan@REDACTED
Fri Nov 18 11:36:08 CET 2005
On Fri, 18 Nov 2005 mbj@REDACTED wrote:
> Kostis Sagonas <kostis@REDACTED> wrote:
> > mbj@REDACTED wrote:
> >
> > > Look at the code. Try to figure out what c() returns. Run it on
> > > the latest erlang.
> > >
> > > c() ->
> > > M = {a, b},
> > > M:k(a).
> >
> > I've been screaming for years now.
> > Can we please take the {M,F} call (w/o arity) out of the language?
>
> That's not the problem here, Try
>
> M = {a, b, c, d},
>
> instead, it will give the same result.
You have encountered a side effect of the current
implemenation of abstract modules.
/Håkan
More information about the erlang-questions
mailing list