Module WeakTopologicalOrder.Partition
type 'node t= private|Empty|Node of{node : 'node;next : 'node t;}|Component of{head : 'node;rest : 'node t;next : 'node t;}
val fold_nodes : ('node t, 'node, _) IStdlib.IStd.Container.foldval fold_heads : ('node t, 'node, _) IStdlib.IStd.Container.foldval expand : fold_right:('a, 'b, 'b t) IStdlib.IStd.Container.fold -> 'a t -> 'b tMaps a partition nodes from
'ato'busing the expansionfold_right.fold_rightshould not return its~initdirectly but must always provide a non-empty sequence.