From 298af2a8da1b12ee206d8e81f68db6f3351a41d3 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Mon, 7 Aug 2017 15:15:12 +0800 Subject: gnu: Add ghc-monadplus. * gnu/packages/haskell.scm (ghc-monadplus): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/haskell.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/haskell.scm') 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") -- cgit v1.2.3