官术网_书友最值得收藏!

  • Learn Scala Programming
  • Slava Schmidt
  • 67字
  • 2021-06-10 19:35:49

Recursion and trampolining

There is a special case of a function calling another function—the function calling itself. Such functions are called recursive. Recursive functions can be head-recursive or tail-recursive. There is also an approach to model recursive calls in an object-oriented way called trampolining. Recursion is very convenient and often uses the technique in functional programming, so let's take a close look at these concepts.

主站蜘蛛池模板: 安仁县| 兴隆县| 电白县| 江山市| 周宁县| 松阳县| 涟源市| 河东区| 独山县| 宁夏| 阿拉尔市| 政和县| 团风县| 高青县| 余干县| 乌拉特中旗| 金沙县| 蓬莱市| 游戏| 葵青区| 天水市| 济源市| 梓潼县| 洛浦县| 溧水县| 嘉义市| 海南省| 枣阳市| 九台市| 谢通门县| 客服| 孝感市| 林芝县| 聊城市| 金华市| 柏乡县| 台前县| 新竹县| 临漳县| 昌平区| 宿州市|