gen

Iterators for OCaml, both restartable and consumable
Library gen
Module GenLabels_intf . S . Infix
val (--) : int -> int -> int t

Synonym for int_range ~by:1

val (>>=) : 'a t -> ( 'a -> 'b gen ) -> 'b t

Monadic bind operator

val (>>|) : 'a t -> ( 'a -> 'b ) -> 'b t

Infix map operator

  • since 0.2.3
val (>|=) : 'a t -> ( 'a -> 'b ) -> 'b t

Infix map operator

  • since 0.2.3