Warn against using 'fail' directly in user-code

Jason Dagit dagitj at gmail.com
Sat Dec 21 02:08:44 UTC 2013


On Fri, Dec 20, 2013 at 4:58 PM, Edward Kmett <ekmett at gmail.com> wrote:

> I'm personally -1 on making explicit calls to fail into a warning.
>

I think it really depends on how the warning is enabled. I don't think it
should be part of -Wall, but I could see it being there for people that
want such things. And if you're going that route, shouldn't it be part of
hlint instead of ghc?

So, I think I just convinced myself that I'm -1 on this too :)

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20131220/2707628b/attachment.html>


More information about the Libraries mailing list