[erlang-questions] Re: programming tip: a note on encapsulation

Robert Virding <>
Thu Nov 19 20:56:43 CET 2009


2009/11/19 Raoul Duke <>

> > Unfortunately F(f1)(a, b) doesn't parse. The only way to make that
> > work is to write it as (F(f1))(a, b), which is horrible to read.
>
> cough cough LFE cough cough
>

(funcall (funcall f f1) a b) if I understood the binding correctly! :-)

Robert


More information about the erlang-questions mailing list