title: Problem using map with a list of lists in Haskell
body: <p>I am using Haskell to solve problem 99 in euler project, where I must find the maximum result from a list of base exponent pairs.</p>
  
  <p>I came up with this:</p>
  
  <pre><code>prob99 = maximum $ map ((fst)^(snd)) numbers
  </code></pre>
  
  <p>Where the numbers are in the form:</p>
  
  <pre><code>numbers = [[519432,525806],[632382,518061],[78864,613712]..
  </code></pre>
  
  <p>Why doesn't this work? Do I need to change the format of the numbers?
  Is there a simple optimisation here I am not thinking of, like a more efficient method of exponentiation?</p>