package promise_jsoo

  1. Overview
  2. Docs
val (>>|) : 'a option t -> ('a -> 'b) -> 'b option t

Equivalent to Promise.Option.map

val (>>=) : 'a option t -> ('a -> 'b option t) -> 'b option t

Equivalent to Promise.Option.bind

val let+ : 'a option t -> ('a -> 'b) -> 'b option t

Equivalent to Promise.Option.map

val let* : 'a option t -> ('a -> 'b option t) -> 'b option t

Equivalent to Promise.Option.bind

OCaml

Innovation. Community. Security.