Module Base.Container_intf.Finished_or_stopped_early

Finished_or_stopped_early.t is returned by fold_until to indicate if f requested the fold stop, or if the fold completed

type ('a, 'b) t =
| Finished of 'a
| Stopped_early of 'b