Loading p/haskell-enumerator/debian/changelog +6 −0 Original line number Diff line number Diff line haskell-enumerator (0.4.20-10) unstable; urgency=medium * Patch to build with ghc-8.4 -- Dmitry Bogatov <KAction@gnu.org> Fri, 05 Oct 2018 00:56:15 +0000 haskell-enumerator (0.4.20-9) unstable; urgency=medium * Remove build dependency on libghc-text-dev (provided by ghc-8.4.3) Loading p/haskell-enumerator/debian/patches/patch-to-build-with-ghc-8.4.patch 0 → 100644 +14 −0 Original line number Diff line number Diff line 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) p/haskell-enumerator/debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line patch-to-build-with-ghc-8.4.patch Loading
p/haskell-enumerator/debian/changelog +6 −0 Original line number Diff line number Diff line haskell-enumerator (0.4.20-10) unstable; urgency=medium * Patch to build with ghc-8.4 -- Dmitry Bogatov <KAction@gnu.org> Fri, 05 Oct 2018 00:56:15 +0000 haskell-enumerator (0.4.20-9) unstable; urgency=medium * Remove build dependency on libghc-text-dev (provided by ghc-8.4.3) Loading
p/haskell-enumerator/debian/patches/patch-to-build-with-ghc-8.4.patch 0 → 100644 +14 −0 Original line number Diff line number Diff line 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)
p/haskell-enumerator/debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line patch-to-build-with-ghc-8.4.patch