[erlang-questions] Bug in sets module? Equal sets aren't equal
Alex S.
alex0player@REDACTED
Mon Feb 20 15:11:25 CET 2017
> 20 февр. 2017 г., в 16:58, Hugo Mills <hugo@REDACTED> написал(а):
>
> sets:from_list([[2, 2], [2, -2]]) =:= sets:from_list([[2, -2], [2, 2]]).
The onyl way to compare them for equality would be elementwise anyway, i.e. I'd roll with sets:to_list, it’s about as optimal as it gets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170220/a4dc6aad/attachment.htm>
More information about the erlang-questions
mailing list