package alg_structs

  1. Overview
  2. Docs

Module Array.Let_bindSource

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

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

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

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

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

OCaml

Innovation. Community. Security.