Package: haskell-enumerator / 0.4.20-10

patch-to-build-with-ghc-8.4.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: haskell-enumerator/lib/Data/Enumerator/Internal.hs
===================================================================
--- haskell-enumerator.orig/lib/Data/Enumerator/Internal.hs
+++ haskell-enumerator/lib/Data/Enumerator/Internal.hs
@@ -71,6 +71,9 @@ instance Monad Stream where
 	Chunks xs >>= f = mconcat (fmap f xs)
 	EOF >>= _ = EOF
 
+instance Semigroup (Stream a) where
+	(<>) = mappend
+
 instance Monoid (Stream a) where
 	mempty = Chunks mempty
 	mappend (Chunks xs) (Chunks ys) = Chunks (xs ++ ys)