module Infix: sig
.. end
Infix operators. You should open only this module.
val (>>=) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
t >>= f
is an alternative notation for bind t f
.
val (=<<) : ('a -> 'b Lwt.t) -> 'a Lwt.t -> 'b Lwt.t
f =<< t
is t >>= f
val (>|=) : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t
m >|= f
is map f m
val (=|<) : ('a -> 'b) -> 'a Lwt.t -> 'b Lwt.t
f =|< m
is map f m
val (<?>) : 'a Lwt.t -> 'a Lwt.t -> 'a Lwt.t
t <?> t'
is the same as choose [t; t']
val (<&>) : unit Lwt.t -> unit Lwt.t -> unit Lwt.t
t <&> t'
is the same as join [t; t']