package promise_jsoo

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val (>>|) : ('a, 'e) Stdlib.result t -> ('a -> 'b) -> ('b, 'e) Stdlib.result t

Equivalent to Promise.Result.map

val (>>=) : ('a, 'e) Stdlib.result t -> ('a -> ('b, 'e) Stdlib.result t) -> ('b, 'e) Stdlib.result t

Equivalent to Promise.Result.bind

val let+ : ('a, 'e) Stdlib.result t -> ('a -> 'b) -> ('b, 'e) Stdlib.result t

Equivalent to Promise.Result.map

val let* : ('a, 'e) Stdlib.result t -> ('a -> ('b, 'e) Stdlib.result t) -> ('b, 'e) Stdlib.result t

Equivalent to Promise.Result.bind

OCaml

Innovation. Community. Security.