strange?

mbj@REDACTED mbj@REDACTED
Fri Nov 18 11:20:21 CET 2005


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.


/martin




More information about the erlang-questions mailing list