jgm/doctemplates

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
peti commented

Yes, the new version compiles fine. Thank you very much for the quick fix!