DXN sorted-set (@sorted-set applied to a set literal). Wraps an array kept
sorted and deduplicated as a hard invariant at every construction
site — the constructor is the only way to build one, precisely so
that structural equality between two DXNSortedSets is valid
set-equality rather than something that happens to work only when
both were built the same way, mirroring Dextrin.SortedSet exactly.
Cross-type ordering (e.g. a set mixing numbers and strings) is
implementation-defined per DXN.md (no normative cross-type order
given) — this class uses dxnCompare's own fixed rank order (see
equality.cjs), not a claim of matching Erlang term order.
DXN
sorted-set(@sorted-setapplied to a set literal). Wraps an array kept sorted and deduplicated as a hard invariant at every construction site — the constructor is the only way to build one, precisely so that structural equality between twoDXNSortedSets is valid set-equality rather than something that happens to work only when both were built the same way, mirroringDextrin.SortedSetexactly.Cross-type ordering (e.g. a set mixing numbers and strings) is implementation-defined per
DXN.md(no normative cross-type order given) — this class usesdxnCompare's own fixed rank order (seeequality.cjs), not a claim of matching Erlang term order.