gen

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

Synonym for int_range ~by:1

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

Monadic bind operator

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

Infix map operator

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

Infix map operator

  • since 0.2.3