Loop over multiple arrays simultaneously: Difference between revisions
Content deleted Content added
m the example is redundant, it's the same in as in the opening paragraph; also removed the REPL prompt |
added J (though because J abstracts away arrays and looping, the solution is questionable) |
||
Line 13: | Line 13: | ||
'(a b c) |
'(a b c) |
||
'(1 2 3))</lang> |
'(1 2 3))</lang> |
||
=={{header|J}}== |
|||
(,.":"0)&:>/ 'abc' ; 'ABC' ; 1 2 3 |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |