module Deferred : sig ... endinclude Core_kernel.Monad.Infix with type 'a t := 'a Async_kernel.Deferred.t
val (>>=) : 'a Async_kernel.Deferred.t -> ('a -> 'a Async_kernel.Deferred.t) -> 'a Async_kernel.Deferred.tt >>= f returns a computation that sequences the computations represented by two monad elements. The resulting computation first does t to yield a value v, and then runs the computation returned by f v.
val (>>|) : 'a Async_kernel.Deferred.t -> ('a -> 'b) -> 'a Async_kernel.Deferred.tt >>| f is t >>= (fun a -> return (f a)).
include module type of Deferred.Let_syntax
val return : 'a -> 'a Deferred.tval (>>=) : 'a Deferred.t -> ('a -> 'a Deferred.t) -> 'a Deferred.tt >>= f returns a computation that sequences the computations represented by two monad elements. The resulting computation first does t to yield a value v, and then runs the computation returned by f v.
val (>>|) : 'a Deferred.t -> ('a -> 'b) -> 'a Deferred.tt >>| f is t >>= (fun a -> return (f a)).
module Let_syntax : sig ... endval upon : 'a Async_kernel.Deferred.t -> ('a -> unit) -> unitval (>>>) : 'a Async_kernel.Deferred.t -> ('a -> unit) -> unitval (>>=?) : 'a Async_kernel.Deferred.t -> ('a -> 'a Async_kernel.Deferred.t) -> 'a Async_kernel.Deferred.tval (>>|?) : 'a Async_kernel.Deferred.t -> ('a -> 'b) -> 'a Async_kernel.Deferred.t