title: Iterating along 2 lists at the same time in haskell (without resorting to zip)
body: <p>I have 2 lists:</p>
  
  <pre><code>[[1,2],[4,5]]
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[0, 3]
  </code></pre>
  
  <p>and I'd like to turn it into</p>
  
  <pre><code>[[0,1,2],[3,4,5]]
  </code></pre>
  
  <p>I've created a function that does just that:</p>
  
  <pre><code>myFun xxs xs = map (\x -&gt; (fst x):(snd x)) (zip xs xxs)
  </code></pre>
  
  <p>and it works. But I am still left wondering whether there might exist a better way to accomplish this without using the zip. Is there any?</p>
  
  <p>Basically what I want to do is iterate along the 2 lists at the same time, something that I can't think of a way to do in Haskell without resorting to zip.</p>
  
  <p>Thanks</p>