... 循环内块绑定(Block Bindings in Loop) 循环内的函数(Functions in Loops) 循环内的let声明(let Declarations in Loops) ...
基于1个网页-相关网页
In fact, loops and recursive functions can be considered interchangeable.
实际上,可以认为循环和递归函数是能够相互转换的。
Take a look at the properties of loops and see how they compare with those of recursive functions in Table 1.
在表 1 中了解循环的特性,看它们可以如何与递归函数的特性相对比。
In Erlang there is no need for loops because tail recursive functions are transparently optimized to run in constant space.
而在Erlang中不需要使用循环,因为尾递归函数会被自动优化在固定的空间中运行。
应用推荐