title: What is the x++ equivalent for HASKELL
body: <p>I started to learn functional programming for my assigment, I try to count, how many times compares if statement is proper i mean I want to put n++ after the command x > maxTail for display to last value of n</p>
  
  <pre><code>maxList :: (Ord a) =&gt; [a] -&gt; a  
  maxList [x] = x  
  maxList (x:xs)   
      | x &gt; maxTail = x  
      | otherwise = maxTail  
      where maxTail = maxList xs  
  </code></pre>