Radix.del
You're seeing just the function
del
, go back to Radix module for more information.
Specs
Delete the {k, v}
-pair where k
is equal to key.
Example
iex> elms = [{<<1,1>>, 16}, {<<1,1,0>>, 24}, {<<1,1,1,1>>, 32}]
iex> t = new(elms)
iex> t
{0, {23, [{<<1, 1, 0>>, 24}, {<<1, 1>>, 16}],
[{<<1, 1, 1, 1>>, 32}]
},
nil}
#
iex> del(t, <<1, 1, 0>>)
{0, {23, [{<<1, 1>>, 16}],
[{<<1, 1, 1, 1>>, 32}]
},
nil}