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

  • 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.

主站蜘蛛池模板: 阿拉善左旗| 临泽县| 鄂尔多斯市| 乐平市| 巴马| 谢通门县| 宜阳县| 大洼县| 萨嘎县| 东光县| 冷水江市| 本溪| 金门县| 临澧县| 信丰县| 马山县| 仙桃市| 苍南县| 咸宁市| 社旗县| 上犹县| 会同县| 石台县| 安溪县| 准格尔旗| 牡丹江市| 离岛区| 镇坪县| 万州区| 南投市| 汤阴县| 博客| 墨竹工卡县| 丰城市| 彭水| 长岛县| 徐水县| 庆城县| 陆川县| 本溪市| 修文县|