Your first Erlang program, a recursive Fibonacci function.
第一个Erlang程序,一个递归的fibonacci函数。
Sometimes it's just not possible. Consider a Fibonacci function.
不过,有时候这并不可能。
A perfect way to see the benefits of the functional programming style, and how this works within Erlang, is to look at the Fibonacci function.
要想了解函数编程风格的好处以及它在Erlang中的实现方式,最好的方法是了解fibonacci函数。
应用推荐