package gitlab-unix

  1. Overview
  2. Docs
type 'a t
val return : 'a -> 'a t
val bind : ('a -> 'b t) -> 'a t -> 'b t
val map : ('a -> 'b) -> 'a t -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val (>|=) : 'a t -> ('a -> 'b) -> 'b t
val (*>) : 'a t -> 'b t -> 'b t
val (>>~) : 'a Response.t t -> ('a -> 'b t) -> 'b t
val (>|~) : 'a Response.t t -> ('a -> 'b) -> 'b t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
val fail : exn -> 'a t
val run : 'a t -> 'a Lwt.t
val embed : 'a Lwt.t -> 'a t
val let+ : 'a t -> ('a -> 'b) -> 'b t
val and+ : 'a t -> 'b t -> ('a * 'b) t
val let* : 'a t -> ('a -> 'b t) -> 'b t
val and* : 'a t -> 'b t -> ('a * 'b) t
OCaml

Innovation. Community. Security.