node type in documentation or API?

Michael Truog mjtruog@REDACTED
Fri Jul 3 02:16:51 CEST 2009


The documentation is a little ambiguous when it mentions the node type
since it uses "node()" instead of "atom()", and this may be on purpose. 
If this is on purpose it would be really nice to have a function
"erlang:is_node(Node)" for guard tests.  Otherwise, if I put
"erlang:is_atom(Node)" in the guard tests, I am making the assumption
that node types are always atoms.  I don't know if that is always
suppose to be the case since the documentation uses a separate type.

Thanks,
Michael Truog



More information about the erlang-bugs mailing list