package prbnmcn-cgrph

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type 'a t

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

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

create f creates a generator using f as generating function.

val 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.