Module Cobol_preproc.Outputs
include sig ... end
module TYPES : sig ... end
type !'a with_diags = 'a TYPES.with_diags = {
result : 'a;
diags : Cobol_preproc__.Preproc_diagnostics.diagnostics;
}
val result :
?diags:Cobol_preproc__.Preproc_diagnostics.diagnostics ->
'a ->
'a with_diags
val some_result :
?diags:Cobol_preproc__.Preproc_diagnostics.diagnostics ->
'a ->
'a option with_diags
val no_result :
diags:Cobol_preproc__.Preproc_diagnostics.diagnostics ->
'a option with_diags
val with_diags :
'a ->
Cobol_preproc__.Preproc_diagnostics.diagnostics ->
'a with_diags
val with_more_diags :
diags:Cobol_preproc__.Preproc_diagnostics.diagnostics ->
'a with_diags ->
'a with_diags
val forget_result :
'a with_diags ->
Cobol_preproc__.Preproc_diagnostics.diagnostics
val sink_result :
?set_status:bool ->
?ppf:Stdlib.Format.formatter ->
'a with_diags ->
unit
val error_result :
'a ->
Cobol_preproc__.Preproc_diagnostics.error ->
'a with_diags