Loop over multiple arrays simultaneously: Difference between revisions
Content added Content deleted
(→{{header|Scheme}}: Cleanup. Previous one could display wrong values, creates garbage, and unneded use of 'begin'.) |
|||
Line 501:
=={{header|Scheme}}==
<lang scheme>
(
(display
(display
(display
'(a b c) '(A B C) '(1 2 3))▼
▲ (newline)))
▲ '(a b c) '(A B C) '(1 2 3))
</lang>
The R5RS standard specifies that the three lists must be of the same size.
|