Module Value_rec_types

Types related to the compilation of value let-recs (non-functional recursive definitions)

type recursive_binding_kind =
  1. | Static
    (*

    Bindings for which some kind of pre-allocation scheme is possible. The expression is allowed to be recursive, as long as its definition does not inspect recursively defined values.

    *)
  2. | Dynamic
    (*

    Bindings for which pre-allocation is not possible. The expression is not allowed to refer to any recursive variable.

    *)

The kind of recursive bindings, as computed by Value_rec_check.classify_expression