Currently, haskell-src-exts-util-0.2.1.2 fails to build on GHC 8.4.1 since Semigroup has become a superclass of Monoid, and Vars lacks a Semigroup instance. This fixes the issue.
I opted to avoid some CPP by depending on the semigroups package to provide the Semigroup class on GHC 7.10 and earlier (before Semigroup was added to base). If you'd prefer to avoid incurring an extra dependency, I could alternatively remove the semigroups dependency and only define the Semigroup instances on base-4.9 or later (at the cost of some CPP).
Currently,
haskell-src-exts-util-0.2.1.2
fails to build on GHC 8.4.1 sinceSemigroup
has become a superclass ofMonoid
, andVars
lacks aSemigroup
instance. This fixes the issue.I opted to avoid some CPP by depending on the
semigroups
package to provide theSemigroup
class on GHC 7.10 and earlier (beforeSemigroup
was added tobase
). If you'd prefer to avoid incurring an extra dependency, I could alternatively remove thesemigroups
dependency and only define theSemigroup
instances onbase-4.9
or later (at the cost of some CPP).