Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,5 @@
map = .directory~new
map["foo"] = 5
map["bar"] = 10
map["baz"] = 15
map["foo"] = 6

View file

@ -0,0 +1,2 @@
item = map["foo"] -- => 6
item = map["invalid"] -- => .nil

View file

@ -0,0 +1,3 @@
loop key over map
say key
end

View file

@ -0,0 +1,3 @@
loop value over map~allItems
say value
end

View file

@ -0,0 +1,5 @@
s = map~supplier
loop while s~available
say s~index "=>" s~item
s~next
end