[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/17: gnu: Add ghc-mtl-compat.
From: |
guix-commits |
Subject: |
07/17: gnu: Add ghc-mtl-compat. |
Date: |
Fri, 8 May 2020 05:09:12 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 4759b61735e0b78de81d59cdcb9474b3321c4bd0
Author: John Soo <address@hidden>
AuthorDate: Fri Dec 13 09:32:28 2019 -0800
gnu: Add ghc-mtl-compat.
* gnu/packages/haskell-xyz.scm (ghc-mtl-compat): New variable.
Signed-off-by: Christopher Baines <address@hidden>
---
gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 6a4d958..05c0524 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -7631,6 +7631,41 @@ semi-direct products, \"deletable\" monoids, \"split\"
monoids, and
\"cut\" monoids.")
(license license:bsd-3)))
+(define-public ghc-mtl-compat
+ (package
+ (name "ghc-mtl-compat")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://hackage/package/mtl-compat/mtl-compat-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
+ (build-system haskell-build-system)
+ (home-page
+ "https://github.com/haskell-compat/mtl-compat")
+ (synopsis
+ "Backported Control.Monad.Except module from mtl")
+ (description
+ "This package backports the Control.Monad.Except module from mtl (if
+using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
+and the MonadError class.
+
+This package should only be used if there is a need to use the
+Control.Monad.Except module specifically. If you just want the mtl class
+instances for ExceptT, use transformers-compat instead, since mtl-compat does
+nothing but reexport the instances from that package.
+
+Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
+module defined in this package exports all of ExceptT's monad class instances.
+Therefore, you may have to declare @code{import Control.Monad.Except ()} at
+the top of your file to get all of the ExceptT instances in scope.")
+ (license license:bsd-3)))
+
(define-public ghc-murmur-hash
(package
(name "ghc-murmur-hash")
- branch master updated (503447a -> de488b3), guix-commits, 2020/05/08
- 02/17: gnu: Add ghc-transformers., guix-commits, 2020/05/08
- 01/17: gnu: Add ghc-utf8-light., guix-commits, 2020/05/08
- 05/17: gnu: Add ghc-wai-websockets., guix-commits, 2020/05/08
- 06/17: gnu: Add ghc-sourcemap., guix-commits, 2020/05/08
- 07/17: gnu: Add ghc-mtl-compat.,
guix-commits <=
- 03/17: gnu: Add ghc-tasty-hspec., guix-commits, 2020/05/08
- 08/17: gnu: Add ghc-protolude., guix-commits, 2020/05/08
- 09/17: gnu: Add ghc-pattern-arrows., guix-commits, 2020/05/08
- 10/17: gnu: Add ghc-language-javascript., guix-commits, 2020/05/08
- 11/17: gnu: Add ghc-bower-json., guix-commits, 2020/05/08
- 13/17: gnu: Add ghc-assoc., guix-commits, 2020/05/08
- 14/17: gnu: Add ghc-these., guix-commits, 2020/05/08
- 16/17: gnu: Add ghc-happy@1.19.9, guix-commits, 2020/05/08
- 04/17: gnu: Add ghc-websockets., guix-commits, 2020/05/08
- 15/17: gnu: Add ghc-semialign., guix-commits, 2020/05/08