package octez-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-libs.error-monad/Tezos_error_monad/Monad_maker/Make/argument-3-Monad/index.html
Parameter Make.Monad
Import the non-traced modules as-is
include Bare_sigs.Monad.S
The tower of monads
The Lwt monad: for concurrency
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.
The Option monad: for optional data
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.
The (generic) Result monad: for success/failure
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.
The combined Lwt+Option monad: for concurrent optional values
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.
The combined Lwt+Result monad: for concurrent successes/failures
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.
module Traced_result_syntax : sig ... end
module Lwt_traced_result_syntax : sig ... end