CentralNotice From Wikipedia, the free encyclopedia Jump to: navigation , search In functional programming , continuation-passing style ( CPS ) is a style of programming in which control is passed explicitly in the form of a continuation . Gerald Jay Sussman and Guy L. Steele, Jr. coined the phrase in AI Memo 349 (1975), which sets out the first version of the Scheme programming language. [ 1 ] [ 2 ] John C. Reynolds gives a detailed account of the numerous discoveries of continuations. [ 3 ] A function written in continuation-passing style takes an extra argument: an explicit "continuation" i.e. a function of one argument. When the CPS function has computed its result value, it "returns" it by calling the continuation function with this value as the argument. That means that when invoking a CPS function, the calling function is required to supply a procedure to be inv...