diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-09-20 14:37:23 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-09-20 19:50:11 +0100 |
commit | f0b811994bca42b776cd31c253d93acbac677f5b (patch) | |
tree | dc69535e0a5913a867a7c4b70afe2d0781fbf115 /dev-haskell/mtl-compat/metadata.xml | |
parent | dev-haskell/encoding: amd64 x86 stable, bug #524790 (diff) | |
download | gentoo-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.xml | 22 |
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 "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 @import Control.Monad.Except ()@ at the top of + your file to get all of the @ExceptT@ instances in scope. + </longdescription> +</pkgmetadata> |