Diagnostics.Settype t = diagnosticsPersistent set of diagnostics
val pp : t Pretty.printerval pp_above : level:severity -> t Pretty.printerval none : tval one : diagnostic -> tval maybe : diagnostic option -> tval two : diagnostic -> diagnostic -> tval cons : diagnostic -> t -> tval has_errors : t -> boolval map : (diagnostic -> 'a) -> t -> 'a listval fold : (diagnostic -> 'a -> 'a) -> t -> 'a -> 'aval diag :
Cobol_common__.Diagnostics_sigs.severity ->
?loc:Srcloc.srcloc ->
(_, t) Pretty.funcval hint : ?loc:Srcloc.srcloc -> (_, t) Pretty.funcval note : ?loc:Srcloc.srcloc -> (_, t) Pretty.funcval info : ?loc:Srcloc.srcloc -> (_, t) Pretty.funcval warn : ?loc:Srcloc.srcloc -> (_, t) Pretty.funcval error : ?loc:Srcloc.srcloc -> (_, t) Pretty.funcval blind : diagnostic -> tSets of diagnostics with values that do not contain any closure or module, and that can thus be marshalled/unmarshalled safely.
The ability to perform delayed formatting is lost when translating from "regular" diagnostics into serializable ones, as the translation applies the formatting as if into a string without any right-margin.
val apply_delayed_formatting : t -> serializableval of_serializable : serializable -> t