Proposed change to libraries

Luke Gorrie luke@REDACTED
Wed Feb 23 09:30:54 CET 2005

"Fredrik Linder" <fredrik.linder@REDACTED> writes:

> Yes, it is used in (older parts of) our software at CellPoint.


> >   callback(Values, Callback = {M,F}) when list(Values) ->
> >       apply(M, F, Values).

but if I had thought a bit harder I'd have realised that this is just
an apply/3 and not really related to the tuple-function business.
That would have to be something like

  CB = {mod,fun},
  if ... -> CB();
     ... -> CB(Arg)

which looks a bit more exotic.


More information about the erlang-questions mailing list