The fundamental concept of continuations

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Oct 14 18:56:39 EDT 2007


In message <see-36543E.18592809102007 at lust.ihug.co.nz>, Barb Knox wrote:

> Instead of function A returning to its caller, the
> caller provides an additional argument (the "continuation") which is a
> function B to be called by A with A's result(s).

That's just a callback. I've been doing that in C code (and other
similar-level languages) for years.



More information about the Python-list mailing list