You're seeing just the function more, go back to Iptrie module for more information.


more(t(), prefix()) :: [{prefix(), any()}]

Returns all the prefix,value-pairs where the search prefix is a prefix for the stored prefix.

This returns the more specific entries that are enclosed by given search prefix. Note that any bitstring is always a prefix of itself. So, if present, the search prefix will be included in the result.


iex> ipt = new()
...> |> put("", "A25-lower")
...> |> put("", "A25-upper")
...> |> put("", "A30")
...> |> put("", "B24")
iex> more(ipt, "")
  {"", "A30"},
  {"", "A25-lower"},
  {"", "A25-upper"}