Continuation-passing style (source code)

= Continuation-passing style
{wiki}

Pass the remaining computation explicitly as a <continuation>. Returning a value means invoking that <continuation>; a different control destination can be selected by invoking a different <continuation>.