《Lua程序设计(第2版)》 6.3 正确的尾调用(proper tail call) Lua是支持尾调用消除(tail-call elimination)的,如下面对函数g的调用就是尾.
確定! 回上一頁