Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Cgraph.Var
SourceVar
is the module type of variables, which are the simplest kind of input nodes available to users.
'a t
is the type of a variable holding a value of type 'a
create_tracking node
creates a variable that tracks the value of node
. Such a variable behaves as a normal variable except that:
node
at creation timenode
changes, the variable is reset to that of node
.set v x
updates the variable v
to hold the value x
. This automatically invalidates all nodes that depend directly and indirectly on v
.