Files
pplus-library/mojo/probes/set-order.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

9 lines
168 B
Mojo

# probe: in what order does a Set of Int iterate?
from std.collections import Set
def main():
var s: Set[Int] = {5, 1, 3, 10, 2}
for x in s:
print(x)