[erlang-questions] simple ets question

Roger Critchlow <>
Wed Jan 23 19:27:35 CET 2008

Good day all --

Can anyone explain the following to me?  This is using a copy of
otp_src_R12B-0 that I compiled under Ubuntu yesterday.

I expected statement #2 to return the same value as statement #3.

The actual problem arises using another ets: function that specifies a
Tid | atom as the ets table identifier, and it throws a bad argument

Many thanks,

-- rec --


Erlang (BEAM) emulator version 5.6 [source] [smp:2] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.6  (abort with ^G)
1> Tid = ets:new(test,[]).
2> ets:info(test).
3> ets:info(Tid).

More information about the erlang-questions mailing list