You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[3 of 5] Compiling StreamSpec ( test/StreamSpec.hs, dist/build/conduit-test/conduit-test-tmp/StreamSpec.o )
test/StreamSpec.hs:466:10: error:
• Could not deduce (Prelude.Semigroup (Sum a))
arising from the superclasses of an instance declaration
from the context: Prelude.Num a
bound by the instance declaration at test/StreamSpec.hs:466:10-40
There are instances for similar types:
instance Prelude.Num a =>
Prelude.Semigroup (base-4.11.0.0:Data.Semigroup.Internal.Sum a)
-- Defined in ‘base-4.11.0.0:Data.Semigroup.Internal’
• In the instance declaration for ‘Monoid (Sum a)’
|
466 | instance Prelude.Num a => Monoid (Sum a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: