[Haskell-beginners] Question regarding error messages

Choi Waikit vagercai at gmail.com
Sun Jun 18 09:02:13 UTC 2017


Hi guys,

I have difficulty understanding how GHC determines what kind of error
message to return. Could you help explain a bit ? Thanks !

The code can be accessed here <http://lpaste.net/356325>

My question is
Why does calling `settleDown 9` return different error message from
`settleDown "sting"` ?

Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170618/afe9d689/attachment.html>


More information about the Beginners mailing list