[erlang-questions] documentation bug, module digraph
Vlad Dumitrescu
vladdu55@REDACTED
Fri Aug 8 21:58:52 CEST 2008
Hi,
There are some errors in the docs for digraph:
add_edge()
Tuples on the form ['$e' | N], where N is an integer >= 1, are used
for representing the created edges.
add_vertex()
Tuples on the form ['$v' | N], where N is an integer >= 1, are used
for representing the created vertices.
* The terms above are lists, not tuples. This may be confusing.
* The first edge/vertex gets N==0, not 1
best regards,
Vlad
More information about the erlang-questions
mailing list