1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/for table.ans

6 lines
198 B
Text

:s = *{ "a":"b", 6:"c", 98:5, true:3 }
/* struct iteration is non deterministic, too lazy to sort, so we check if we have 4 key that each appear at most once */
for(:k, s)
|{s!has(k)}|
s(k) = ()