title: If n is divisible by 2 return true - haskell
body: <p>im trying to do a question in Haskell. I've just begun learning the language and can't get my head around this question.
   I need to return a boolean if n is divisible by 2, it will be true, otherwise false. Heres what i've gotten so far and it doesnt work...</p>
  
  <pre><code>is_even :: Int -&gt; Bool 
  is_even n 
   | n `mod` 2 == 0 return True
   | otherwise return False
  </code></pre>