package gen

  1. Overview
  2. Docs

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 explicitely that they use 'a gen (transient generators).

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