jon.recoil.org

Module Flambda.Continuation_handler

type t

The alpha-equivalence class of the binding of a list of parameters around an expression, forming a continuation handler, together with auxiliary information about such handler.

Create the representation of a single continuation handler.

Choose a member of the alpha-equivalence class to enable examination of the parameters and the code over which they are scoped.

module Pattern_match_pair_error : sig ... end

Whether the continuation is an exception handler.

Continuations used as exception handlers are always Non_recursive. To enable identification of them in passes not invoked from Simplify (where they could be identified by looking at the Apply_conts that reference them) they are marked explicitly.

Continuations used as exception handlers may have more than one parameter (see Exn_continuation).

(Relevant piece of background info: the backend cannot compile simultaneously-defined continuations when one or more of them is an exception handler.)