call-with-current-continuation (abbreviated as call/cc) is a control operator in functional programming
The function call-with-current-continuation, commonly abbreviated call/cc, is a control operator in functional programming that originated in the Scheme programming language. It takes a function f
as its only argument and applies f
to the current continuation (a first-class value represented as a function).