package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of TzLwtreslib.Monad.Result_syntax
val return : 'a -> ('a, 'e) Stdlib.result
val return_unit : (unit, 'e) Stdlib.result
val return_none : ('a option, 'e) Stdlib.result
val return_some : 'a -> ('a option, 'e) Stdlib.result
val return_nil : ('a list, 'e) Stdlib.result
val return_true : (bool, 'e) Stdlib.result
val return_false : (bool, 'e) Stdlib.result
val fail : 'e -> ('a, 'e) Stdlib.result
val let* : ('a, 'e) Stdlib.result -> ('a -> ('b, 'e) Stdlib.result) -> ('b, 'e) Stdlib.result
val let+ : ('a, 'e) Stdlib.result -> ('a -> 'b) -> ('b, 'e) Stdlib.result
val join : (unit, 'e) Stdlib.result list -> (unit, 'e list) Stdlib.result
val all : ('a, 'e) Stdlib.result list -> ('a list, 'e list) Stdlib.result
val both : ('a, 'e) Stdlib.result -> ('b, 'e) Stdlib.result -> ('a * 'b, 'e list) Stdlib.result
val tzfail : 'error -> ('a, 'error Trace.trace) Stdlib.result
val and* : ('a, 'error Trace.trace) Stdlib.result -> ('b, 'error Trace.trace) Stdlib.result -> ('a * 'b, 'error Trace.trace) Stdlib.result
val and+ : ('a, 'error Trace.trace) Stdlib.result -> ('b, 'error Trace.trace) Stdlib.result -> ('a * 'b, 'error Trace.trace) Stdlib.result
val tzjoin : (unit, 'error Trace.trace) Stdlib.result list -> (unit, 'error Trace.trace) Stdlib.result
val tzall : ('a, 'error Trace.trace) Stdlib.result list -> ('a list, 'error Trace.trace) Stdlib.result
val tzboth : ('a, 'error Trace.trace) Stdlib.result -> ('b, 'error Trace.trace) Stdlib.result -> ('a * 'b, 'error Trace.trace) Stdlib.result
OCaml

Innovation. Community. Security.