ekmett / transformers-compat

transformers compatibility shim
Other
10 stars 12 forks source link

Give `FunctorClassesDefault` instances of `Eq` and friends #54

Closed RyanGlScott closed 2 years ago

RyanGlScott commented 2 years ago

This will be necessary to make Data.Functor.Classes.Generic typecheck if haskell/core-libraries-committee#10 is implemented. Even if that isn't implemented, it's still likely a good idea on its own.

Bodigrim commented 2 years ago

Thanks, @RyanGlScott, it works well for GHC 9.2 with https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4727 applied.