Handled_effectSourceval continue :
('a, 'b, 'es) Continuation.t @ unique ->
'a @ unique once ->
'es Handler.List.t @ local ->
'b @ unique once @@ portablecontinue k v hs resumes the continuation k with value v. hs are used to handle k's additional effects.
val discontinue :
('a, 'b, 'es) Continuation.t @ unique ->
Base.exn ->
'es Handler.List.t @ local ->
'b @ unique once @@ portablediscontinue k e hs resumes the continuation k by raising the exception e. hs are used to handle k's additional effects.
val discontinue_with_backtrace :
('a, 'b, 'es) Continuation.t @ unique ->
Base.exn ->
Base.Backtrace.t ->
'es Handler.List.t @ local ->
'b @ unique once @@ portablediscontinue_with_backtrace k e bt hs resumes the continuation k by raising the exception e using the raw backtrace bt as the origin of the exception. hs are used to handle k's additional effects.
The generic signature for effects with 2 or fewer parameters.
The generic signature for effects with 2 or fewer parameters.
The generic signature for effects with 2 or fewer parameters.
The generic signature for effects with 2 or fewer parameters.
The signature for effects with no type parameters at a combination of modes.
The signature for effects with no type parameters at a combination of modes.
The signature for effects with no type parameters at a combination of modes.
The signature for effects with no type parameters at a combination of modes.
The signature for effects with one type parameter at a combination of modes.
The signature for effects with one type parameter at a combination of modes.
The signature for effects with one type parameter at a combination of modes.
The signature for effects with one type parameter at a combination of modes.
The signature for effects with two type parameters at a combination of modes.
The signature for effects with two type parameters at a combination of modes.
The signature for effects with two type parameters at a combination of modes.
The signature for effects with two type parameters at a combination of modes.
Exception raised when a continuation is continued or discontinued more than once.
Only achievable with Obj.magic_unique or similar escape hatches.