summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2015-09-20 14:37:23 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2015-09-20 19:50:11 +0100
commitf0b811994bca42b776cd31c253d93acbac677f5b (patch)
treedc69535e0a5913a867a7c4b70afe2d0781fbf115 /dev-haskell/mtl-compat/metadata.xml
parentdev-haskell/encoding: amd64 x86 stable, bug #524790 (diff)
downloadgentoo-f0b811994bca42b776cd31c253d93acbac677f5b.tar.gz
gentoo-f0b811994bca42b776cd31c253d93acbac677f5b.tar.bz2
gentoo-f0b811994bca42b776cd31c253d93acbac677f5b.zip
dev-haskell/mtl-compat: Backported Control.Monad.Except module from dev-haskell/mtl-2.2.
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-haskell/mtl-compat/metadata.xml')
-rw-r--r--dev-haskell/mtl-compat/metadata.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-haskell/mtl-compat/metadata.xml b/dev-haskell/mtl-compat/metadata.xml
new file mode 100644
index 000000000000..95fbdda5c946
--- /dev/null
+++ b/dev-haskell/mtl-compat/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This package backports the &quot;Control.Monad.Except&quot; 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
+ &quot;Control.Monad.Except&quot; module defined in this package exports
+ all of @ExceptT@&#39;s monad class instances. Therefore, you may
+ have to declare @import Control.Monad.Except ()@ at the top of
+ your file to get all of the @ExceptT@ instances in scope.
+ </longdescription>
+</pkgmetadata>