title: Haskell: check if two lists are equal
body: <p>I want to check if two lists <code>A</code> and <code>B</code> are equal, i.e., <code>a1 == b1, a2 == b2</code>,...</p>
  
  <p>I have a working solution:</p>
  
  <pre><code>all (\x-&gt;x) zipWith $ (==) A B
  </code></pre>
  
  <p>Another idea is to do it recursively: <code>a:as, b:bs</code> ; check if <code>a1==b1</code> and call the function with the remaining lists <code>as</code> and <code>bs</code>. But isn't there an easier and more readable way to do this?</p>