[erlang-questions] anyway to make recursion inside anonymous funs?

Waldemar Rachwal <>
Thu Mar 29 10:56:51 CEST 2007


See Joe's thesis:
    http://www.sics.se/~joe/thesis/armstrong_thesis_2003.pdf
In chap. 3.3.12 "Higher order functions", on page 57 there is a
factorial example  implemented with funs.
WR.


On 3/28/07, June Kim <> wrote:
> "fun" expressions can be used to declare a function. Can it make a
> recursive call inside?
>
> That is,
>
> Can I somehow declare the following with callself, which is an
> imaginary functionality that calls the anonymous function itself?
>



More information about the erlang-questions mailing list