title: Combining the elements of 2 lists
body: <p>Assume we have two lists :</p>
  
  <pre><code>val l1=List("a","b","c")
  val l2 = List("1","2","3")
  </code></pre>
  
  <p>What I want is : <code>List("a1", "b2", "c3")</code> that is, adding the nth element of l1 with the nth element of l2</p>
  
  <p>A way to achieve it is :</p>
  
  <pre><code>(l1 zip l2).map (c =&gt; {c._1+c._2})
  </code></pre>
  
  <p>I just wonder if one could achieve it with an Applicative. I tried :</p>
  
  <pre><code>(l1 |@| l2) { _+ _ } 
  </code></pre>
  
  <p>but it gives all the combinations :</p>
  
  <pre><code>List(a1, a2, a3, b1, b2, b3, c1, c2, c3)
  </code></pre>
  
  <p>Any idea?</p>
  
  <p>Thank you</p>
  
  <p>Benoit</p>