continuation-passing style

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English[edit]

Alternative forms[edit]

Noun[edit]

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.
    Synonym: CPS

Further reading[edit]