Building library for reroute-0.4.1.0..
[1 of 4] Compiling Data.PolyMap ( src/Data/PolyMap.hs, dist/build/Data/PolyMap.o )
src/Data/PolyMap.hs:34:10: error:
• Could not deduce (Semigroup (PolyMap c f a))
arising from the superclasses of an instance declaration
from the context: Alternative f
bound by the instance declaration at src/Data/PolyMap.hs:34:10-48
• In the instance declaration for ‘Monoid (PolyMap c f a)’
|
34 | instance Alternative f => Monoid (PolyMap c f a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add semigroup instances. See also: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.4#SemigroupMonoidsuperclasses