Preface_specs.FoldableA Foldable is a data structure which can be fold. In other word, reduced to a summary value one element at a time
module type WITH_FOLD_MAP = sig ... endMinimal definition using fold_map'.
module type WITH_FOLD_RIGHT = sig ... endMinimal definition using fold_right.
module type CORE = sig ... endBasis operation.
module type OPERATION = sig ... endAdditional operations.
module type API = sig ... endThe complete interface of a Foldable.