A module internal to Incremental. Users should see Incremental_intf.
Kind.t
is a variant type with one constructor for each kind of node (const, var,
map, bind, etc.).
include module type of sig ... end
type 'a t
= 'a Incremental_kernel__Types.Kind.t
=
include Core_kernel.Invariant.S1 with type a t := a t
val invariant : 'a Base__.Invariant_intf.inv ‑> 'a t Base__.Invariant_intf.inv
include Incremental_kernel__.Sexp_of.S1 with type a t := a t
include sig ... end
val sexp_of_t : ('a ‑> Base.Sexp.t) ‑> 'a t ‑> Base.Sexp.t
val name : _ t ‑> string
val initial_num_children : _ t ‑> int
val slow_get_child : _ t ‑> index:int ‑> Incremental_kernel__.Types.Packed_node.t
slow_get_child t ~index
raises unless 0 <= index < max_num_children t
. It will
also raise if the index
'th child is currently undefined (e.g. a bind node with no
current rhs).
val iteri_children : _ t ‑> f:(int ‑> Incremental_kernel__.Types.Packed_node.t ‑> unit) ‑> unit