Eager_deferred.Let_syntaxThese are convenient to have in scope when programming with a monad:
val return : 'a -> 'a Async_kernel.Deferred.tval (>>=) :
'a Async_kernel.Deferred.t ->
('a -> 'b Async_kernel.Deferred.t) ->
'b 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) ->
'b Async_kernel.Deferred.tt >>| f is t >>= (fun a -> return (f a)).
module Let_syntax : sig ... end