Jump to content

Hash from two arrays: Difference between revisions

m
Line 1,067:
T := table( zip( `=`, A, B ) );</lang>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
<lang Mathematica>Map[(Hash[Part[#, 1]] = Part[#, 2]) &,
Transpose[{{1, 2, 3}, {"one", "two", "three"}}]]
1,111

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.