Erlang improvement?

Helmut Enck-Radana <>
Thu Sep 20 00:49:47 CEST 2001


At 18:08 19-09-01, Kostis Sagonas wrote:
>t2(M,F) ->
>   {M,F}(bar,42).   %% WEIRD SYNTAX FOR "funs"
>
>[...]
>Instead, we think that the following syntax is a much better way to
>write the above:
>
>t2(M,F) ->
>   M:F(bar,42).

There was a discussion on this list in the past which I think is related to 
this subject. See
http://www.erlang.org/ml-archive/erlang-questions/200102/msg00119.html,
http://www.erlang.org/ml-archive/erlang-questions/200102/msg00124.html
and the following discussion.

-- Helmut






More information about the erlang-questions mailing list