Functions
call_cc(f)
Generate a continuation
cont
,
and call f(cont)
.
Parameters:
Name | Type | Description |
---|---|---|
f |
function | A function of the form (cont) => ... |
Returns:
the return value of
f
if cont is not consumed