type fd = Lwt_unix.file_descr
type 'a stream = 'a Lwt_stream.t
val getaddrinfo :
string ->
string ->
Unix.getaddrinfo_option list ->
Unix.addr_info list t
val connect : Unix.socket_domain -> Unix.sockaddr -> fd t
val sleep : float -> unit t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val (>|=) : 'a t -> ('a -> 'b) -> 'b t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
val try_bind : (unit -> 'a t) -> ('a -> 'b t) -> (exn -> 'b t) -> 'b t
val ignore_result : 'a t -> unit
val iter : ('a -> unit t) -> 'a list -> unit t
val iter_serial : ('a -> unit t) -> 'a list -> unit t
val map : ('a -> 'b t) -> 'a list -> 'b list t
val map_serial : ('a -> 'b t) -> 'a list -> 'b list t
val fold_left : ('a -> 'b -> 'a t) -> 'a -> 'b list -> 'a t
val stream_next : 'a stream -> 'a t
val mutex_create : unit -> mutex
val mutex_with : mutex -> (unit -> 'a t) -> 'a t