Loading p/haskell-monadplus/debian/changelog +7 −0 Original line number Diff line number Diff line haskell-monadplus (1.4.2-6) unstable; urgency=medium * Non-maintainer upload. * Patch to build with ghc-8.4 -- Dmitry Bogatov <KAction@gnu.org> Thu, 04 Oct 2018 12:01:12 +0000 haskell-monadplus (1.4.2-5) unstable; urgency=medium [ Clint Adams ] Loading p/haskell-monadplus/debian/patches/patch-build-with-ghc-8.4.patch 0 → 100644 +14 −0 Original line number Diff line number Diff line Index: haskell-monadplus/src/Control/Monad/Plus.hs =================================================================== --- haskell-monadplus.orig/src/Control/Monad/Plus.hs +++ haskell-monadplus/src/Control/Monad/Plus.hs @@ -253,6 +253,9 @@ instance Alternative (Partial r) where empty = Partial (const Nothing) Partial f <|> Partial g = Partial $ \x -> f x <|> g x +instance Semigroup (Partial a b) where + (<>) = mappend + instance Monoid (Partial a b) where mempty = mzero mappend = mplus p/haskell-monadplus/debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line patch-build-with-ghc-8.4.patch Loading
p/haskell-monadplus/debian/changelog +7 −0 Original line number Diff line number Diff line haskell-monadplus (1.4.2-6) unstable; urgency=medium * Non-maintainer upload. * Patch to build with ghc-8.4 -- Dmitry Bogatov <KAction@gnu.org> Thu, 04 Oct 2018 12:01:12 +0000 haskell-monadplus (1.4.2-5) unstable; urgency=medium [ Clint Adams ] Loading
p/haskell-monadplus/debian/patches/patch-build-with-ghc-8.4.patch 0 → 100644 +14 −0 Original line number Diff line number Diff line Index: haskell-monadplus/src/Control/Monad/Plus.hs =================================================================== --- haskell-monadplus.orig/src/Control/Monad/Plus.hs +++ haskell-monadplus/src/Control/Monad/Plus.hs @@ -253,6 +253,9 @@ instance Alternative (Partial r) where empty = Partial (const Nothing) Partial f <|> Partial g = Partial $ \x -> f x <|> g x +instance Semigroup (Partial a b) where + (<>) = mappend + instance Monoid (Partial a b) where mempty = mzero mappend = mplus
p/haskell-monadplus/debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line patch-build-with-ghc-8.4.patch