Remove MonadFail (ST s) instance

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Remove MonadFail (ST s) instance

M Farkas-Dyck
+1 from me, this instance is insane
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: Remove MonadFail (ST s) instance

chessai .
+1 on removal 

On Tue, Nov 26, 2019, 4:04 AM Matthew Farkas-Dyck <[hidden email]> wrote:
+1 from me, this instance is insane
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: Remove MonadFail (ST s) instance

Carter Schonwald
do we have a tracking ticket on gitlab for this?

On Tue, Nov 26, 2019 at 4:28 AM chessai . <[hidden email]> wrote:
+1 on removal 

On Tue, Nov 26, 2019, 4:04 AM Matthew Farkas-Dyck <[hidden email]> wrote:
+1 from me, this instance is insane
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: Remove MonadFail (ST s) instance

Carter Schonwald
In reply to this post by Henning Thielemann
This does seem like a reasonable request,
Though of course it’d be really cool to evaluate what code may be incidentally using the monad fail instance by accident atm!
(is there any way we could do that?)

On Sun, Nov 24, 2019 at 12:35 PM Henning Thielemann <[hidden email]> wrote:

On Sun, 24 Nov 2019, Dan Burton wrote:

> We're talking about an instance in `base`, so if there's no other way, it could at least be a flag akin to
> -Wmissing-monadfail-instances that gets included in -Wcompat.
> But relatedly: should there be a way to deprecate instances? I would say yes.

Sounds like another application of instance warnings that we already
talked about:
    https://gitlab.haskell.org/ghc/ghc/issues/11796
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
12