Logo

Programming-Idioms

History of Idiom 143 > diff from v7 to v8

Edit summary for version 8 by Dodopod:
New Scheme implementation by user [Dodopod]

Version 7

2016-08-26, 14:37:37

Version 8

2017-06-14, 15:33:08

Idiom #143 Iterate alternatively over two lists

Iterate alternatively over the elements of the list items1 and items2. For each iteration, print the element.

Idiom #143 Iterate alternatively over two lists

Iterate alternatively over the elements of the list items1 and items2. For each iteration, print the element.

Extra Keywords
parallel
Extra Keywords
parallel
Code
(map (lambda (x)
       (display x)
       (newline))
     (foldr append '()
            (map list items1 items2)))