OrderedNaryTree.Node (ordered_nary_tree v0.0.1)

Link to this section Summary

Link to this section Types

@type id() :: reference()
@type t() :: %OrderedNaryTree.Node{children: [t()], id: id(), value: term()}

Link to this section Functions

Link to this function

add_child(parent_node, child_node)

@spec add_child(parent :: t(), child :: t()) :: updated_parent :: t()
@spec new(term()) :: t()