gen

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

Synonym for int_range ~by:1

val (>>=) : 'a gen -> ( 'a -> 'b Gen_intf.gen ) -> 'b gen

Monadic bind operator

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

Infix map operator

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

Infix map operator

  • since 0.2.3