Module Lwt.Syntax
module Syntax : sig..end
Let syntax ¶
Monadic syntax ¶
val ( let* ) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
Syntax for Lwt.bind.
val ( and* ) : 'a Lwt.t -> 'b Lwt.t -> ('a * 'b) Lwt.t
Syntax for Lwt.both.
Applicative syntax ¶
val let+ : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t
Syntax for Lwt.map.
val and+ : 'a Lwt.t -> 'b Lwt.t -> ('a * 'b) Lwt.t
Syntax for Lwt.both.