HashSet[A]: an immutable set whose members compare as Effect's
Equal.equals does (Effect's HashSet).
A frozenset calls 1 and True one member and cannot hold a list;
a HashSet keys members by pyfect._equal.equal_key: True stays
apart from 1, NaN is one member, and lists, tuples, dicts and sets are
members by their items. Updates return a new set, or the same set when
nothing changes; like Effect's, it is a persistent hash array mapped trie
(pyfect._hamt), so an update costs about log32(size). Iteration
follows Effect's hashes (pyfect._effect_hash), in Effect's order.
Classes#
On This Page
Classes