.. include:: ../../global.rst .. _`continuation Type`: Continuation Type ================= The continuation type represents an instance of a *continuation*. The VM treats the invocation of a continuation like a single argument function call. Continuation Predicates ----------------------- .. _`continuation?`: .. idio:function:: continuation? o test if `o` is a continuation :param o: object to test :return: ``#t`` if `o` is a continuation ``#f`` otherwise Continuation Constructors ------------------------- .. _`call/cc`: .. idio:function:: call/cc k-proc This is the call-with-values call/cc variant which calls: call `proc` with the current (undelimited) continuation :param proc: :type proc: a closure of 1 argument This is the ``%%call/uc`` primitive. This is the call-with-values call/cc variant which calls: call `proc` with the current (undelimited) continuation :param proc: :type proc: a closure of 1 argument This is the ``%%call/uc`` primitive. .. include:: ../../commit.rst