RosettaCodeData/Task/Associative-array-Iteration/Frink/associative-array-iteration.frink

8 lines
135 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
d = new dict[[[1, "one"], [2, "two"]]]
for [key, value] = d
println["$key\t$value"]
println[]
for key = keys[d]
println["$key"]