Traced.Monad
Import the non-traced modules as-is
include Bare_sigs.Monad.S
module Lwt_syntax : sig ... end
Syntax module for Lwt. This is intended to be opened locally in functions which use Lwt for control-flow. Within the scope of this module, the code can include binding operators, leading to a let
-style syntax.
module Option_syntax : sig ... end
Syntax module for Option. This is intended to be opened locally in functions which use option
for control-flow. Within the scope of this module, the code can include binding operators, leading to a let
-style syntax.
module Result_syntax : sig ... end
Syntax module for Result. This is intended to be opened locally in functions which use result
for control-flow. Within the scope of this module, the code can include binding operators, leading to a let
-style syntax.
module Lwt_option_syntax : sig ... end
Syntax module for Lwt+Option. This is intended to be opened locally in functions which use Lwt and option
for control-flow. Within the scope of this module, the code can include binding operators, leading to a let
-style syntax.
module Lwt_result_syntax : sig ... end
Syntax module for Lwt+Result. This is intended to be opened locally in functions which use Lwt and result
for control-flow. Within the scope of this module, the code can include binding operators, leading to a let
-style syntax.
type 'error trace = 'error Trace.trace
'error trace
is intended to be substituted by a type provided by a Trace
module (with type 'error trace := 'error Trace.trace
)
module Traced_result_syntax : sig ... end
module Lwt_traced_result_syntax : sig ... end