title: Divide Int to Int and return Int
body: <p>I need a function which gets two <code>Int</code>s (<code>a</code> and <code>b</code>) and returns <code>A/B</code> as <code>Int</code>. I am sure that <code>A/B</code> will always be an integer.</p>
  
  <p>Here is my solution:</p>
  
  <pre><code>myDiv :: Int -&gt; Int -&gt; Int
  myDiv a b = 
        let x = fromIntegral a
            y = fromIntegral b
        in truncate (x / y)
  </code></pre>
  
  <p>But want to find more simpler solution. Something like this:</p>
  
  <pre><code>myDiv :: Int -&gt; Int -&gt; Int
  myDiv a b = a / b
  </code></pre>
  
  <p>How can I divide Int to Int and get Int ?</p>