package alg_structs

  1. Overview
  2. Docs

Binding operators for use with the OCaml 4.08 extension. See the OCaml docs on binding operators for more information.

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

let+ x = t in f x is map ~f t

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

let+ x = t and+ y = t' in f x y is f <@> t <*> t'