aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vong <alexvong1995@gmail.com>2017-08-07 15:15:12 +0800
committerRicardo Wurmus <rekado@elephly.net>2017-08-16 17:07:39 +0200
commit298af2a8da1b12ee206d8e81f68db6f3351a41d3 (patch)
tree75845c362cd6509098d24115c8e3176d0daaf335
parent005a08e3dc41d28ecf5a11a8ca479044b82c4a6a (diff)
downloadpatches-298af2a8da1b12ee206d8e81f68db6f3351a41d3.tar
patches-298af2a8da1b12ee206d8e81f68db6f3351a41d3.tar.gz
gnu: Add ghc-monadplus.
* gnu/packages/haskell.scm (ghc-monadplus): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/haskell.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 70853851c8..7ed503ab92 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3994,6 +3994,26 @@ when used with GHC versions which already provide the
@code{Control.Monad.Fail} module.")
(license license:bsd-3)))
+(define-public ghc-monadplus
+ (package
+ (name "ghc-monadplus")
+ (version "1.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/monadplus"
+ "/monadplus-" version ".tar.gz"))
+ (sha256
+ (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
+ (build-system haskell-build-system)
+ (home-page "https://hackage.haskell.org/package/monadplus")
+ (synopsis "Filtering and folding over arbitrary MonadPlus instances")
+ (description
+ "This package generalizes many common stream operations such as
+@code{filter}, @code{catMaybes} etc, enabling filtering and folding over
+arbitrary @code{MonadPlus} instances.")
+ (license license:bsd-3)))
+
(define-public ghc-byteorder
(package
(name "ghc-byteorder")