[erlang-questions] Erlang type spec questions

Pierre Fenoll <>
Thu Oct 15 00:46:54 CEST 2015


On 14 October 2015 at 15:38, <> wrote:

> 3. Is a dets table a file or a list?
>
> E.g. How would one represent it?
>

Use ets:tab().

http://erldocs.com/current/stdlib/ets.html?i=0&search=^ets:#type-tab

You did miss it! Same for File.

Reason needs to be Reason :: any() or term()

Cheers,
-- 
Pierre Fenoll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151014/d87f0c64/attachment.html>


More information about the erlang-questions mailing list