guix-commits
[Top][All Lists]
Advanced

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

53/151: gnu: Add ghc-monad-control.


From: Paul
Subject: 53/151: gnu: Add ghc-monad-control.
Date: Mon, 19 Oct 2015 08:57:44 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 256e19b17963ff5ed964bbb64d995091e96ef469
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 21:18:26 2015 +0200

    gnu: Add ghc-monad-control.
    
    * gnu/packages/haskell.scm (ghc-monad-control): New variable.
---
 gnu/packages/haskell.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7e747fb..44e7580 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1940,6 +1940,35 @@ representing a store for a single element.")
 manipulating monad transformer stacks.")
     (license bsd-3)))
 
+(define-public ghc-monad-control
+  (package
+    (name "ghc-monad-control")
+    (version "1.0.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/monad-control";
+             "/monad-control-" version ".tar.gz"))
+       (sha256
+        (base32
+         "07pn1p4m80wdd7gw62s4yny8rbvm60ka1q8qx5y1plznd8sbg179"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-stm" ,ghc-stm)
+       ("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)))
+    (home-page
+     "https://github.com/basvandijk/monad-control";)
+    (synopsis
+     "Lift control operations, like exception catching, through monad
+transformers")
+    (description
+     "This package defines the type class MonadBaseControl, a subset of
+MonadBase into which generic control operations such as catch can be lifted
+from IO or any other base monad.")
+    (license bsd-3)))
+
 (define-public ghc-async
   (package
     (name "ghc-async")



reply via email to

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