[erlang-questions] What is a tid()?

Kostis Sagonas kostis@REDACTED
Wed Apr 28 18:09:36 CEST 2010


Per Hedeland wrote:
> $ erlc test.erl
> ./test.erl:5: referring to built-in type tid as a remote type; please take out the module name

tid() is a built-in opaque type for ETS table identifiers.
These cannot be redefined.

However, the warning you have run into predates the introduction of 
remote types and is probably a bug.  Although one should currently use 
tid() to refer to ets:tid(), it should be possible to use a tid() type 
that one of their modules export.

I'll put looking into this issue on my todo list.

Kostis


More information about the erlang-questions mailing list