package lwt

  1. Overview
  2. Docs

Let syntax

Monadic syntax

val let__star : ('a, 'e) t -> ('a -> ('b, 'e) t) -> ('b, 'e) t

Syntax for bind.

val and__star : ('a, 'e) t -> ('b, 'e) t -> ('a * 'b, 'e) t

Syntax for both.

Applicative syntax

val let__plus : ('a, 'e) t -> ('a -> 'b) -> ('b, 'e) t

Syntax for map.

val and__plus : ('a, 'e) t -> ('b, 'e) t -> ('a * 'b, 'e) t

Syntax for both.

OCaml

Innovation. Community. Security.