package prbnmcn-cgrph

  1. Overview
  2. Docs

Module Cgraph.GenSource

Gen is the module type of generators, which are the second kind of input nodes available to users. These correspond to streams of values.

Sourcetype 'a t

'a t is the type of a generator of values of type 'a.

Sourceval create : (unit -> 'a) -> 'a t

create f creates a generator using f as generating function.

Sourceval touch : 'a t -> unit

touch g invalidates all nodes that depend directly and indirectly on g and generates a new value to replace the old one.

OCaml

Innovation. Community. Security.