From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLvtB-0000C8-Ld for guix-patches@gnu.org; Thu, 24 May 2018 15:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLvt9-0008Qp-Oh for guix-patches@gnu.org; Thu, 24 May 2018 15:27:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38969) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLvt9-0008Qi-L0 for guix-patches@gnu.org; Thu, 24 May 2018 15:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLvt9-0007wL-FQ for guix-patches@gnu.org; Thu, 24 May 2018 15:27:03 -0400 Subject: [bug#31582] [PATCH 3/8] gnu: Add ghc-ifelse. Resent-Message-ID: Message-Id: <871se0ua9u.fsf@mrblack.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <878t88vp2n.fsf@ngyro.com> References: <878t88vp2n.fsf@ngyro.com> From: Timothy Sample Date: Mon, 19 Feb 2018 19:08:28 -0500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31582@debbugs.gnu.org * gnu/packages/haskell.scm (ghc-ifelse): New variable. --- gnu/packages/haskell.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 07a639b76..f4f054895 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -3812,6 +3812,27 @@ with various performance characteristics.") manipulating monad transformer stacks.") (license license:bsd-3))) +(define-public ghc-ifelse + (package + (name "ghc-ifelse") + (version "0.85") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "IfElse/IfElse-" version ".tar.gz")) + (sha256 + (base32 + "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa")))) + (build-system haskell-build-system) + (inputs `(("ghc-mtl" ,ghc-mtl))) + (home-page "http://hackage.haskell.org/package/IfElse") + (synopsis "Monadic control flow with anaphoric variants") + (description "This library provides functions for control flow inside of +monads with anaphoric variants on @code{if} and @code{when} and a C-like +@code{switch} function.") + (license license:bsd-3))) + (define-public ghc-monad-control (package (name "ghc-monad-control") -- 2.17.0