WeakTopologicalOrder.Partition
val fold_nodes : ('node t, 'node, _) IStdlib.IStd.Container.fold
val iter_nodes : 'a t -> f:('a -> unit) -> unit
val fold_heads : ('node t, 'node, _) IStdlib.IStd.Container.fold
Maps a partition nodes from 'a
to 'b
using the expansion fold_right
. fold_right
should not return its ~init
directly but must always provide a non-empty sequence.
val pp :
pp_node:(F.formatter -> 'node -> unit) ->
F.formatter ->
'node t ->
unit