vec

Fast, safe mutable dynamic arrays
IN THIS PACKAGE
Module Vec . Infix
val (.![]) : ( 'a, [> `R ] ) t -> int -> 'a

Infix version of get_exn.

val (.![]<-) : ( 'a, [> `W ] ) t -> int -> 'a -> unit

Infix version of set_exn.

val (.?[]) : ( 'a, [> `R ] ) t -> int -> 'a option

Infix version of get.

val (.?[]<-) : ( 'a, [> `W ] ) t -> int -> 'a -> bool

Infix version of set.

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

Infix version of append.

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

Infix version of map.

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

Infix version of map, with the arguments flipped.

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

Infix version of map.

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

Infix version of apply.

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

Infix version of flat_map.

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

Infix version of flat_map, with the arguments flipped.

val (--) : int -> int -> ( int, [ `R | `W ] ) t

Infix version of range.