ets:info/1

Willem Broekema willem@REDACTED
Tue Feb 26 23:11:57 CET 2002


Seems like a bug:
ets:info/1 returns a tuple of the form { {K,V},{K2,V2},.. } instead of 
doing what the doc says: returning a list of the k-v pairs.

98> T = ets:new(bogus, [set, private]).
63
99> ets:info(T).
{{memory,276},
  {owner,<0.343.0>},
  {name,bogus},
  {size,0},
  {node,nonode@REDACTED},
  {named_table,false},
  {type,set},
  {keypos,1},
  {protection,private}}


- Willem




More information about the erlang-questions mailing list