I am using Elixir 1.6.3. I work with the Erlang module :etsin Elixir and I am a little confused by the return value of the function :ets.new/2.
According to the doc example, when calling, :ets.new(:whatever, [])I need to return what seems integer:
iex> table = :ets.new(:buckets_registry, [:set, :protected])
8207
However, when I run the same code in iex, I get the link:
iex(1)> table = :ets.new(:buckets_registry, [:set, :protected])
So, has something changed since the documentation was written? Or is it the same thing, and am I confused by what a link is?
source
share