DeriveFoldable should not require DeriveFunctor
Functor is not a superclass of Foldable, so there is no reason to require DeriveFunctor to be on if you use the DeriveFoldable flag. However, at the moment GHC requires you to use both flags even if you only derive Foldable.
(Yes, surprisingly some things are Foldable but not Functor -- such as Data.Set).
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |