doctemplates-0.2.1 does not compile with ghc 8.4.1
peti opened this issue · 2 comments
peti commented
The error is:
src/Text/DocTemplates.hs:104:27: error:
• No instance for (Semigroup Template)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Monoid Template)
|
104 | deriving Monoid
| ^^^^^^
jgm commented
I think the commit I just pushed will fix the issue, but I
don't have a ghc 8.4.1 setup here to test. If you're able
to test and confirm this works, that would be helpful.
+++ Peter Simons [Mar 09 18 19:18 ]:
… The error is:
src/Text/DocTemplates.hs:104:27: error:
• No instance for (Semigroup Template)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Monoid Template)
|
104 | deriving Monoid
| ^^^^^^
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.
References
1. #2
2. https://github.com/notifications/unsubscribe-auth/AAAL5CDYGm_CzyoEC6SpGT2YgmXVAWHwks5tctV5gaJpZM4SkvTc
peti commented
Yes, the new version compiles fine. Thank you very much for the quick fix!