Hash from two arrays: Difference between revisions

m
No edit summary
Line 856:
['one 'two 'three 'four] [1 2 3 4] >table</lang>
 
=={{header|Langurlangur}}==
=== the easy way ===
<lang Langurlangur>writeln toHash ["a", "b", "c", "d"], [1, 2, 3, 4]</lang>
 
=== a longer way ===
<lang Langurlangur>val .new = foldfrom(
f(.hash, .key, .value) .hash ~ h{.key: .value},
h{},
890

edits