jon.recoil.org

Module Flambda2_simplify.Simplified_named

Unlike Named.t, this type does not include Static_consts because such constants are propagated separately after simplification.

It is an error to pass Set_of_closures or Static_consts to this function. (Sets of closures are disallowed because computation of their free names might be expensive; use reachable_with_known_free_names instead.)

It is an error to pass Static_consts to this function.

type 'a or_rewritten =
  1. | Simplified of 'a
  2. | Rewritten of body:Flambda2_terms.Flambda.Expr.t -> Flambda2_terms.Flambda.Expr.t