[erlang-questions] Documentation: type of filename parameter in ets:tab2file/2

Paulo Sérgio Almeida psa@REDACTED
Thu Oct 2 13:52:05 CEST 2008


Hi all,

I noticed that the documentation of ets:tab2file/2 says:

tab2file(Tab, Filename) -> ok | {error,Reason}
Filename = string() | atom()

Shouldn't it be a name() instead as in the file module:

name() = string() | atom() | DeepList
   DeepList = [char() | atom() | DeepList]

I tried using a deeplist and it works (as it should if it uses the file 
module).

Regards,
Paulo



More information about the erlang-questions mailing list