[erlang-questions] erl_eval function object

Paul Mineiro paul-trapexit@REDACTED
Wed Aug 5 23:44:02 CEST 2009


That's the call to erlang:'+'/2.  The call I'd like to (also) see is to
the anonymous fun enclosing it.

-- p

On Tue, 4 Aug 2009, Witold Baryluk wrote:

> Dnia 2009-08-04, wto o godzinie 10:38 -0700, Paul Mineiro pisze:
> > The documentation for erl_eval says that the NonlocalFunctionHandler is
> > called when a functional object (fun) is called; however I'm not seeing
> > this.
> ...
> > 1> evaltest:doit ("(fun () -> 10 + 2 end) ().").
> > non_local {erlang,'+'} [10,2]
> > {value,12,[]}
>
>
> But it looks, that it is called here. :)
>
>
> --
> Witold Baryluk <baryluk@REDACTED>
>



More information about the erlang-questions mailing list