package octez-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-libs.lwt-result-stdlib/Tezos_lwt_result_stdlib/Lwtreslib/Bare/Monad/index.html
Module Bare.Monad
Source
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.