Another thing about TESTS and EXAMPLES. Many functions returns semantically a set but technically a list. Neighbours of a vertex in a graph is an example. There is nothing wrong for these to return for example [1,2] on PC and [2,1] on a Mac.

Now, to give a testable example of this kind of function one must put sorted() to output or do someting like (1 in result, 2 in result) --> True.

Should we show them to user? I think that this could be argued to both directions.

--
Jori Mäntysalo

Reply via email to