[erlang-bugs] sets man page talking about ordered sets

Ulf Wiger ulf@REDACTED
Sun Jun 10 17:30:58 CEST 2007


The sets man page mentions ordered sets in several places, e.g.

"sets:from_list(List) -> Set

Types:

List = [term()]
Set = set()

Returns an ordered set of the elements in List. "

But in the introduction states that the representation is undefined,
and a simple test shows that the sets are not ordered (at least not
recognizably so).

http://www.erlang.org/doc/doc-5.5.4/lib/stdlib-1.14.4/doc/html/sets.html

BR,
Ulf W



More information about the erlang-bugs mailing list