title: Haskell Function - Largest
body: <p>So I am suppose to write a function called Largest in Haskell which finds the largest element of a list, but is implemented using the high order functions.</p>
  
  <p>I am new to Haskell so this is my attempt which it doesnt work</p>
  
  <pre><code>largest :: [Int] -&gt; Int
  largest [] = 0
  largest (head : tail) = if (head &gt; tail) then head
  else (largest tail)
  </code></pre>
  
  <p>I have no idea what does high order function mean. </p>
  
  <p>some help will be appreciated. </p>