WARNING pragmas in `Prelude.undefined` and `Prelude.error`
Daniel Díaz Casanueva
dhelta.diaz at gmail.com
Mon Dec 23 16:10:47 UTC 2019
Some warnings are not included in -Wall (for instance
-Wincomplete-uni-patterns). New warning flags can be added without breaking
any code.
Best regards,
Daniel
Am So., 22. Dez. 2019 um 12:50 Uhr schrieb chessai . <chessai1996 at gmail.com
>:
> Right, it's been discussed before IIRC, and i know I've certainly given it
> passing thoughts. I think this isn't worth it because of breakage. Many
> people use -Wall -Werror, so I see this as a no-go.
>
> Thanka
>
> On Sun, Dec 22, 2019, 6:45 AM Vilem Liepelt <vliepelt at futurefinance.com>
> wrote:
>
>> Has there been any discussion about adding WARNING pragmas to
>> `Prelude.undefined` and `Prelude.error`, as done in some custom preludes?
>>
>> I suppose this hasn't been done yet to avoid breaking existing code which
>> makes "legitimate" use of those helpers?
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20191223/de8894a9/attachment.html>
More information about the Libraries
mailing list