Module Lwt_result.Syntax

Let syntax

Monadic syntax

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

Syntax for bind.

val (and*) : ('a, 'e) t -> ('b, 'e) t -> ('a * 'b, 'e) t

Syntax for both.

Applicative syntax

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

Syntax for map.

val (and+) : ('a, 'e) t -> ('b, 'e) t -> ('a * 'b, 'e) t

Syntax for both.