package prbnmcn-dagger

  1. Overview
  2. Docs

Infix operators

type 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t

Alias to bind.

val (>|=) : 'a t -> ('a -> 'b) -> 'b t

Alias to map.

val let* : 'a t -> ('a -> 'b t) -> 'b t

Alias to bind.

val let+ : 'a t -> ('a -> 'b) -> 'b t

Alias to map.

val and+ : 'a t -> 'b t -> ('a * 'b) t

Equivalent to map2 m m' (fun x y -> (x, y)).

val return : 'a -> 'a t

Convenience reexport of return.

OCaml

Innovation. Community. Security.