blob: 3c9acfe332ea3a5ab79e0b3cc9fba1b536e7649f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
SPELL=haskell-monadcatchio-transformers
VERSION=0.3.1.3
SOURCE="MonadCatchIO-transformers-${VERSION}.tar.gz"
SOURCE_URL[0]=https://hackage.haskell.org/package/${SOURCE%.tar.*}/${SOURCE}
SOURCE_HASH=sha512:7794596851f59bcf3cc60e69bbad7c32f2f35fb4c9b1f53455e92d38503539b06dc50d4a9633ed3b6855bdfd0d69d41c37805c727025a81e9841d0819fea684c
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/MonadCatchIO-transformers-${VERSION}"
WEB_SITE="http://hackage.haskell.org/package/MonadCatchIO-transformers"
LICENSE[0]=BSD3
ENTERED=20130709
SHORT="Monad-transformer compatible version of the Control.Exception module"
cat << EOF
Provides functions to throw and catch exceptions. Unlike the functions from
@Control.Exception@, which work in @IO@, these work in any stack of monad
transformers (from the 'transformers' package) with @IO@ as the base monad.
You can extend this functionality to other monads, by creating an instance
of the @MonadCatchIO@ class.
EOF
|