guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/08: gnu: Add ghc-monadplus.


From: Ricardo Wurmus
Subject: 06/08: gnu: Add ghc-monadplus.
Date: Wed, 16 Aug 2017 11:07:47 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 298af2a8da1b12ee206d8e81f68db6f3351a41d3
Author: Alex Vong <address@hidden>
Date:   Mon Aug 7 15:15:12 2017 +0800

    gnu: Add ghc-monadplus.
    
    * gnu/packages/haskell.scm (ghc-monadplus): New variable.
    
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/haskell.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7085385..7ed503a 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
address@hidden, @code{catMaybes} etc, enabling filtering and folding over
+arbitrary @code{MonadPlus} instances.")
+    (license license:bsd-3)))
+
 (define-public ghc-byteorder
   (package
     (name "ghc-byteorder")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]