@mikuroxina/mini-fn
    Preparing search index...

    Variable shiftConst

    shift: <R, A>(
        computation: (exit: (a: A) => R) => Cont.Cont<R, R>,
    ) => Cont.Cont<R, A> = ...

    Captures the continuation up to the nearest enclosing reset, and passes it to computation.

    Type Declaration

      • <R, A>(computation: (exit: (a: A) => R) => Cont.Cont<R, R>): Cont.Cont<R, A>
      • Type Parameters

        • R
        • A

        Parameters

        • computation: (exit: (a: A) => R) => Cont.Cont<R, R>

          The computation will be provided exit.

        Returns Cont.Cont<R, A>

        The limited continuation.