first能够去除列表的第一个元素,rest简化了将尾部递归(清单9中的递归类型)应用于列表其余部分的过程。
First can peel off the first element of the list, and rest makes it easy to apply tail recursion — the type of recursion in Listing 9 — to the rest.
first能够去除列表的第一个元素,rest简化了将尾部递归(清单9中的递归类型)应用于列表其余部分的过程。
First can peel off the first element of the list, and rest makes it easy to apply tail recursion — the type of recursion in Listing 9 — to the rest.
应用推荐