vec

Fast, safe mutable dynamic arrays
IN THIS PACKAGE
Module Vec . Let_syntax
val let+ : ( 'a, [> `R ] ) t -> ( 'a -> 'b ) -> ( 'b, [ `R | `W ] ) t

Equivalent to map, but with the arguments flipped.

val and+ : ( 'a, [> `R ] ) t -> ( 'b, [> `R ] ) t -> ( 'a * 'b, [ `R | `W ] ) t

Equivalent to cartesian_product.

val let* : ( 'a, [> `R ] ) t -> ( 'a -> ( 'b, [> `R ] ) t ) -> ( 'b, [ `R | `W ] ) t

Equivalent to flat_map, but with the arguments flipped.

val and* : ( 'a, [> `R ] ) t -> ( 'b, [> `R ] ) t -> ( 'a * 'b, [ `R | `W ] ) t

Equivalent to cartesian_product.