Loop over multiple arrays simultaneously: Difference between revisions
Content deleted Content added
Added Oz example. |
added factor implementation |
||
Line 220: | Line 220: | ||
lists:zip3("abc", "ABC", "123")).</lang> |
lists:zip3("abc", "ABC", "123")).</lang> |
||
If the lists are not all the same length, an error is thrown. |
If the lists are not all the same length, an error is thrown. |
||
=={{header|Factor}}== |
|||
<lang factor>"abc" "ABC" "123" [ [ write1 ] tri@ nl ] 3each</lang> |
|||
=={{header|Haskell}}== |
=={{header|Haskell}}== |