Bonsai_private_base.May_containTypes to perform gather-time analysis on data-dependencies of computations. Data-dependencies can be resolved or unresolved:
~recurse argument of a Bonsai.fix.The logic for resolving dependencies (i.e. going from unresolved -> resolved) lives in environment.ml, since we need to track information about the recursive dependencies, which gets stored in Environment.Recursive.t.
module Dependencies : sig ... endA set of Fix_id.t representing the recursive dependencies of a computation.
val sexp_of_resolved : resolved -> Sexplib0.Sexp.tval sexp_of_unresolved : unresolved -> Sexplib0.Sexp.tmodule Single : sig ... endt tracks non-recursive information about what a computation contains. This information can be built from the bottom up at gather time.
val sexp_of_t :
('resolution -> Sexplib0.Sexp.t) ->
'resolution t ->
Sexplib0.Sexp.tmodule Resolved : sig ... endmodule Unresolved : sig ... end