package incremental

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Incremental.Let_syntaxSource

This Let_syntax allows you to write expressions like

  let open Incr.Let_syntax in
  let%map_open some_incr = watch some_variable
  and another_incr = ...
  and ...
  in
  ...expression involving some_incr, another_incr, etc...

Note that this is less efficient than using map3, map4, etc., as the latter produces fewer intermediate nodes. You can also use let%mapn syntax to use n-ary map functions efficiently.

Sourceval (>>|) : ('a, 'w) t -> ('a -> 'b) -> ('b, 'w) t
Sourceval (>>=) : ('a, 'w) t -> ('a -> ('b, 'w) t) -> ('b, 'w) t
Sourcemodule Let_syntax : sig ... end
OCaml

Innovation. Community. Security.