package devkit

  1. Overview
  2. Docs
type 'a t = 'a IO.t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val bracket : 'a t -> ('a -> unit t) -> ('a -> 'b t) -> 'b t
val sleep : Time.t -> unit t
val fail : ?exn:exn -> ('a, unit, string, 'b t) format4 -> 'a
val raise : exn -> 'a t
val map_s : ('a -> 'b t) -> 'a list -> 'b list t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
OCaml

Innovation. Community. Security.