Files
pplus-library/mojo/probes/set-order.mojo
T
2026-10-06 09:57:04 -04: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)