No subject

Ryan Scott ryan.gl.scott at gmail.com
Thu Apr 26 09:57:15 UTC 2018


That's not even the worst part. Even since GHC 8.0, WrappedMonad's
Applicative instance doesn't define pure in terms of return (see [1]), so
at the moment, it's completely unusable for DerivingVia in the way that's
been proposed.

If we we decide we want to keep WrappedMonad after all, we would need to
once again change the semantics of this Applicative instance, since it is
indeed not terribly useful the way it's currently defined.

Ryan S.
-----
[1] https://ghc.haskell.org/trac/ghc/ticket/13876
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180426/89cfc9d8/attachment.html>


More information about the Libraries mailing list