title: two operations on two lists in haskell
body: <p>I'm a bit of a Haskell newbie. Let's say that i have two infinite lists of numbers <code>A</code> and <code>B</code> and I want to create another infinite list <code>C</code> which contains a sequence of <code>x+y</code>'s and <code>x-y</code>'s where <code>x &lt;- A</code> and <code>y &lt;- B</code>, i.e., <code>C</code> grows by 2 in every loop; what's the most clever way to do this?</p>