continuation-passing style

Definition from Wiktionary, the free dictionary
Jump to: navigation, search



continuation-passing style (plural continuation-passing styles)

  1. (programming) A style of programming in which every user function f takes an extra argument c known as a continuation. Whenever f would normally return a result r to its caller, it instead returns the result of applying the continuation to r.

See also[edit]