Monad.Traced_result_syntaxThe Traced_result_syntax module is similar to the Result_syntax module with the following differences:
fail wraps the error in a trace,and* and and+ are providedSee Result_syntax.
val fail : 'error -> ('a, 'error Trace.trace) Stdlib.resultfail e is (Error (Trace.make e)) where Trace is the Traced_sigs.Trace module that provides the trace type and functions.
val and* :
('a, 'e Trace.trace) Stdlib.result ->
('b, 'e Trace.trace) Stdlib.result ->
('a * 'b, 'e Trace.trace) Stdlib.resultval and+ :
('a, 'e Trace.trace) Stdlib.result ->
('b, 'e Trace.trace) Stdlib.result ->
('a * 'b, 'e Trace.trace) Stdlib.resultval join :
(unit, 'error Trace.trace) Stdlib.result list ->
(unit, 'error Trace.trace) Stdlib.resultval all :
('a, 'error Trace.trace) Stdlib.result list ->
('a list, 'error Trace.trace) Stdlib.resultval both :
('a, 'error Trace.trace) Stdlib.result ->
('b, 'error Trace.trace) Stdlib.result ->
('a * 'b, 'error Trace.trace) Stdlib.result