用递归方法对这些递归关系的直接实现会造成解决方案效率低下,因为其中包含了对子问题的多次计算。
The naive implementation of this recurrence relation as a recursive method would have led to an inefficient solution involving multiple computations of subproblems.
这便是haskell没有while或for循环的原因,我们的替代方案是使用递归。
That's why there are no while loops or for loops in Haskell and instead we many times have to use recursion to declare what something is.
这种业务服务的递归复合是SOA最重要的特性之一,它使我们可以快速地在现有业务服务的基础上构建新的解决方案。
Such recursive composition of business services is one of the most important features of SOA, allowing to rapidly build new solutions based on the existing business services.
应用推荐