Files
pplus-core/mojo/probes/set-order.mojo
T
2026-10-05 03:03:38 +00: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)