package gen

  1. Overview
  2. Docs
Iterators for OCaml, both restartable and consumable

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.1.tar.gz
md5=fa8066511b693815fe659fd022f4c6bc
sha512=71a4b5c3666a7c11935398a78feea7383f61d2c549dfb96e324d40783ffa87b5ec492c5ec468803aabfb9b48e7d0ebaa30b24d2b974540afc7cca5feea3121c1

doc/gen/GenLabels_intf/index.html

Module GenLabels_intfSource

Common signature for transient and restartable generators

The signature S abstracts on a type 'a t, where the t can be the type of transient or restartable generators. Some functions specify explicitly that they use 'a gen (transient generators).

Sourcetype 'a gen = unit -> 'a option
Sourcetype 'a iter = ('a -> unit) -> unit
Sourcemodule type S = sig ... end