Haskell.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

Ryan Scott

26 Apr 2018 26 Apr '18
5:57 a.m.

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

Attachments:

  • attachment.html (text/html — 669 bytes)
0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.9.