Module Flambda2_simplify.Continuation_in_env
type t = | Linearly_used_and_inlinable of {params : Flambda2_bound_identifiers.Bound_parameters.t;(*To avoid re-opening name abstractions, we store the opened parameters and handler here.
*)handler : Flambda2_simplify.Rebuilt_expr.t;(*
*)free_names_of_handlerincludes entries for any occurrences of theparamsin thehandler.free_names_of_handler : Flambda2_nominal.Name_occurrences.t;cost_metrics_of_handler : Flambda2_terms.Cost_metrics.t;
}| Non_inlinable_zero_arity of {handler : Flambda2_simplify.Rebuilt_expr.t Flambda2_lattices.Or_unknown.t;(*The handler, if available, is stored for
*)Simplify_switch_expr.
}| Non_inlinable_non_zero_arity of {arity : [ `Unarized ] Flambda2_kinds.Flambda_arity.t;
}| Toplevel_or_function_return_or_exn_continuation of {arity : [ `Unarized ] Flambda2_kinds.Flambda_arity.t;
}| Invalid of {arity : [ `Unarized ] Flambda2_kinds.Flambda_arity.t;
}(*
*)Invalidmeans that the code of the continuation handler is invalid, not that the continuation has zero uses.
val print :
Flambda2_simplify_shared.Are_rebuilding_terms.t ->
Stdlib.Format.formatter ->
Flambda2_simplify.Continuation_in_env.t ->
unitval arity :
Flambda2_simplify.Continuation_in_env.t ->
[ `Unarized ] Flambda2_kinds.Flambda_arity.t