From: Gavin Sinclair Date: 2003-03-24T12:15:25+09:00 Subject: Iterate over two lists in parallel On Monday, March 24, 2003, 1:54:53 PM, Julian wrote: >> Now I'm responding to my own messages, which is dangerously close to >> talking to myself. But another, more common, problem where generators >> have the advantage is trying to iterate over two lists in parallel. >> > Never understimate the amazing power of call/cc. > (Programming in a language that lacks it is like commuting to work > without a personal teleporter... :-) The above quote is from the thread concerned with producing slides comparing Ruby and Python. I'd like someone, hopefully including Julian and Jim (Weirich), to demonstrate how to iterate over twop lists in parallel. Extra marks for setting a realistic example problem and solving it! Gavin