[Haskell-cafe] What does "1 = 2" mean in Haskell?

Brandon Allbery allbery.b at gmail.com
Fri Feb 24 05:13:01 UTC 2017


On Fri, Feb 24, 2017 at 12:08 AM, Harendra Kumar <harendra.kumar at gmail.com>
wrote:

> I wish the compiler would report an error something like
>>
>> "<location>: possibly failing match deleted
>>              because it binds no live variables"
>
>
Note that I showed the warning -Wall gives you earlier. -Werror also
works... and, while I don't think it's in 8.0.x yet, future versions will
allow selective conversions of warnings to errors.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170224/659a2b27/attachment.html>


More information about the Haskell-Cafe mailing list