Module Par_incr.Syntax

Introduces some convenient operators for map, bind, combine and par operations.

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

Syntactic sugar for map.

NOTE: You can't provide your own cutoff when using Syntax module. You may use Cutoff.attach to add it to the resultant incremental, but there's no way to pass it as parameter initially like with map.

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

Syntactic sugar for combine. Recommended to be used together with let+.

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

Syntactic sugar for bind.

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

Syntactic sugar for combine. Recommended to be used together with let*.

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

Syntactic sugar for map. Behaves similarly to let+.

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

Syntactic sugar for par. Recommended to be used together with let&.