Commit ddadff52 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

Remove monadplus (Bug#942608)

parent de5c4fc3
Loading
Loading
Loading
Loading
+0 −49
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 ]
  * Set Rules-Requires-Root to no.

  [ Ilias Tsitsimpis ]
  * Bump debhelper compat level to 10

 -- Ilias Tsitsimpis <iliastsi@debian.org>  Sun, 30 Sep 2018 21:15:20 +0300

haskell-monadplus (1.4.2-4) unstable; urgency=medium

  [ Ilias Tsitsimpis ]
  * Change Priority to optional. Since Debian Policy version 4.0.1,
    priority extra has been deprecated.
  * Use the HTTPS form of the copyright-format URL
  * Modify d/watch and Source field in d/copyright to use HTTPS
  * Declare compliance with Debian policy 4.1.1
  * Use salsa.debian.org URLs in Vcs-{Browser,Git} fields

  [ Clint Adams ]
  * Bump to Standards-Version 4.1.4.

 -- Clint Adams <clint@debian.org>  Mon, 09 Apr 2018 20:04:57 -0400

haskell-monadplus (1.4.2-3) unstable; urgency=medium

  * Upload to unstable as part of GHC 8 transition.

 -- Clint Adams <clint@debian.org>  Thu, 27 Oct 2016 18:35:01 -0400

haskell-monadplus (1.4.2-2) experimental; urgency=medium

  * Temporarily build-depend on ghc 8.

 -- Clint Adams <clint@debian.org>  Fri, 14 Oct 2016 11:37:26 -0400

haskell-monadplus (1.4.2-1) unstable; urgency=medium

  * Initial release (Closes: #826735).

 -- Sean Whitton <spwhitton@spwhitton.name>  Wed, 08 Jun 2016 21:55:46 +0900

p/haskell-monadplus/debian/compat

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
10
+0 −57
Original line number Diff line number Diff line
Source: haskell-monadplus
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Uploaders: Sean Whitton <spwhitton@spwhitton.name>
Priority: optional
Section: haskell
Rules-Requires-Root: no
Build-Depends:
 cdbs,
 debhelper (>= 10),
 ghc (>= 8),
 ghc-prof,
 haskell-devscripts (>= 0.13),
Build-Depends-Indep: ghc-doc, libghc-base-doc
Standards-Version: 4.1.4
Homepage: http://hackage.haskell.org/package/monadplus
Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-monadplus
Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-monadplus]
X-Description: Haskell98 partial maps and filters over MonadPlus
 Filtering and folding over arbitrary `MonadPlus` instances.
 This package generalizes many common stream operations such as
 `filter`, `catMaybes` etc.

Package: libghc-monadplus-dev
Architecture: any
Depends: ${haskell:Depends}, ${misc:Depends}, ${shlibs:Depends}
Recommends: ${haskell:Recommends}
Suggests: ${haskell:Suggests}
Conflicts: ${haskell:Conflicts}
Provides: ${haskell:Provides}
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
 ${haskell:LongDescription}
 .
 ${haskell:Blurb}

Package: libghc-monadplus-prof
Architecture: any
Depends: ${haskell:Depends}, ${misc:Depends}
Recommends: ${haskell:Recommends}
Suggests: ${haskell:Suggests}
Conflicts: ${haskell:Conflicts}
Provides: ${haskell:Provides}
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
 ${haskell:LongDescription}
 .
 ${haskell:Blurb}

Package: libghc-monadplus-doc
Architecture: all
Section: doc
Depends: ${haskell:Depends}, ${misc:Depends}
Recommends: ${haskell:Recommends}
Suggests: ${haskell:Suggests}
Conflicts: ${haskell:Conflicts}
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
 ${haskell:LongDescription}
 .
 ${haskell:Blurb}
+0 −35
Original line number Diff line number Diff line
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: monadplus
Upstream-Contact: Hans Hoglund <hans@hanshoglund.se>
Source: https://hackage.haskell.org/package/monadplus

Files: *
Copyright: (C) 2013 Hans Hoglund <hans@hanshoglund.se>
License: BSD-3-clause

Files: debian/*
Copyright: held by the contributors mentioned in debian/changelog
License: BSD-3-clause

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
     * Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
     * Neither the name of the <organization> nor the
       names of its contributors may be used to endorse or promote products
       derived from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+0 −14
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
Loading