sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Val
provides base functions for node values.
include Tc.S0 with type t = value
type t = value
val compare : t Tc.compare
val to_json : t Tc.to_json
The REST inteface.
val of_json : t Tc.of_json
val size_of : t Tc.size_of
The serialization format.
type contents = Contents.key
The type for contents keys.
type node = key
The type for node keys.
type step = Path.step
The type for steps between nodes.
alist t
is the contents of t
.
val empty : t
The empty node.
val is_empty : t -> bool
Is the node empty?
Get the node contents.
A node can point to user-defined contents. The edge between the node and the contents is labeled by a step.
iter_contents t f
calls f
on t
's contents. For better performance, use contents instead when you know the step in advance.
with_contents t s c
replaces t
's contents for the step s
by c
.