Tail recursion by using function generalization
暂无分享,去创建一个
The design of tail recursive algorithms may require thinking about iteration rather than recursion. This paper provides a methodology for deriving tail recursive functions that is based on declarative programming and the concept of function generalization, which allow to avoid iterative thinking.
[1] Raja Sooriamurthi. Problems in comprehending recursion and suggested solutions , 2001, ITiCSE.