Add instance MonadFail (f :*: g)

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

Add instance MonadFail (f :*: g)

Dannyu NDos
instance (MonadFail f, MonadFail g) => MonadFail (f :*: g) where
    fail s = fail s :*: fail s

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

Re: Add instance MonadFail (f :*: g)

Edward Kmett-2
Works for me. +1

On Sun, Aug 11, 2019 at 12:38 PM Dannyu NDos <[hidden email]> wrote:
instance (MonadFail f, MonadFail g) => MonadFail (f :*: g) where
    fail s = fail s :*: fail s
_______________________________________________
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: Add instance MonadFail (f :*: g)

Carter Schonwald
sounds good to me 

On Mon, Aug 12, 2019 at 4:19 AM Edward Kmett <[hidden email]> wrote:
Works for me. +1

On Sun, Aug 11, 2019 at 12:38 PM Dannyu NDos <[hidden email]> wrote:
instance (MonadFail f, MonadFail g) => MonadFail (f :*: g) where
    fail s = fail s :*: fail s
_______________________________________________
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