package tezos-lwt-result-stdlib

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

Innovation. Community. Security.