条件完备后执行后继计算:

F = Future(context & P & r(F)) + Call(r(F) = F(input - 1))

 

Continuation是一种非常古老的程序结构,简单说来就是entire default future of a computation, 即对程序“接下来要做的事情”所进行的一种建模,即为“完成某件事情”之后“还需要做的事情”。而这种做法,也可以体现在尾递归构造中。

 

http://www.nowamagic.net/librarys/veda/detail/2332

相关文章:

  • 2021-08-06
  • 2021-07-05
  • 2022-12-23
  • 2021-08-08
  • 2021-12-19
  • 2022-12-23
  • 2021-07-24
  • 2021-11-28
猜你喜欢
  • 2021-12-16
  • 2021-08-16
  • 2021-05-06
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案