ExUnion v0.1.1
  • Pages
  • Modules

    View Source IntegerTree (ExUnion v0.1.1)

    Link to this section Summary

    Types

    t()
    union()
    union_leaf()
    union_node()

    Functions

    is_integer_tree(value)
    leaf()

    See IntegerTree.Leaf.new/0.

    node(fields)

    See IntegerTree.Node.new/1.

    node(integer, left, right)

    See IntegerTree.Node.new/3.

    Link to this section Types

    Link to this type

    t()

    View Source
    @type t() :: union()
    Link to this type

    union()

    View Source
    @type union() :: IntegerTree.Node.t() | IntegerTree.Leaf.t()
    Link to this type

    union_leaf()

    View Source
    @type union_leaf() :: IntegerTree.Leaf.t()
    Link to this type

    union_node()

    View Source
    @type union_node() :: IntegerTree.Node.t()

    Link to this section Functions

    Link to this macro

    is_integer_tree(value)

    View Source (macro)
    Link to this function

    leaf()

    View Source
    @spec leaf() :: IntegerTree.Leaf.t()

    See IntegerTree.Leaf.new/0.

    Link to this function

    node(fields)

    View Source
    @spec node(fields :: %{integer: integer(), left: union(), right: union()}) ::
      IntegerTree.Node.t()
    @spec node(fields :: [integer: integer(), left: union(), right: union()]) ::
      IntegerTree.Node.t()

    See IntegerTree.Node.new/1.

    Link to this function

    node(integer, left, right)

    View Source
    @spec node(integer :: integer(), left :: union(), right :: union()) ::
      IntegerTree.Node.t()

    See IntegerTree.Node.new/3.

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.5) for the Elixir programming language