RosettaCodeData/Task/Associative-array-Iteration/Factor/associative-array-iteration...

3 lines
147 B
Factor

H{ { "hi" "there" } { "a" "b" } } [ drop print ] assoc-each ! print keys
H{ { "hi" "there" } { "a" "b" } } [ nip print ] assoc-each ! print values