[erlang-questions] [clarify] ets API
Matthew Dempsky
matthew@REDACTED
Fri May 16 19:01:38 CEST 2008
2008/5/16 Adam Lindberg <adam@REDACTED>:
> What are the reasons for ets to exit with badarg when creating duplicate
> tables?
Duplicate named tables? Because the name is the only way to reference
the table, and you can't specify which table you mean in future calls
if two share a name.
> How would I differ from a real badarg and a duplicate table? I guess I
> can't?
You can check a table's existence with ets:info/2.
More information about the erlang-questions
mailing list