title: Parse error in a do block
body: <p>I am a haskell dummy. I am trying to request the user for seconds and then display the hours, minutes and seconds. Here is my code:</p>
  
  <pre><code>prompt x = do
      putStrLn x
      number &lt;- getLine
      return number
  
  main = do
      number &lt;- prompt " Please input a number: "
      seconds &lt;- read number :: Int
      let hours = seconds / 3600
          remaining_seconds = seconds mod 3600
          minutes = remaining_seconds/60
          final_seconds = remaining_seconds `rem` 60 
      putStr (hours)
  </code></pre>
  
  <p>However, I have an error at this <code>remaining_seconds = seconds mod 3600</code>. This is the error <code>parse error on input '='</code>
  Please help me solve it. Regards,</p>