-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathmonad-control.cabal
72 lines (64 loc) · 2.34 KB
/
monad-control.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: monad-control
version: 1.0.4
synopsis:
Lift control operations, like exception catching, through monad transformers
license: BSD3
license-file: LICENSE
author: Bas van Dijk, Anders Kaseorg
maintainer:
Oleg Grenrus <[email protected]>, Bas van Dijk <[email protected]>
copyright: (c) 2011 Bas van Dijk, Anders Kaseorg
homepage: https://github.com/basvandijk/monad-control
bug-reports: https://github.com/basvandijk/monad-control/issues
category: Control
build-type: Simple
cabal-version: 1.12
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. Instances are based on monad
transformers in @MonadTransControl@, which includes all standard monad
transformers in the @transformers@ library except @ContT@.
.
See the <http://hackage.haskell.org/package/lifted-base lifted-base>
package which uses @monad-control@ to lift @IO@
operations from the @base@ library (like @catch@ or @bracket@) into any monad
that is an instance of @MonadBase@ or @MonadBaseControl@.
.
Note that this package is a rewrite of Anders Kaseorg's @monad-peel@
library. The main difference is that this package provides CPS style operators
and exploits the @RankNTypes@ and @TypeFamilies@ language extensions to
simplify and speedup most definitions.
extra-source-files:
CHANGELOG
README.markdown
tested-with:
GHC ==7.4.2
|| ==7.6.3
|| ==7.8.4
|| ==7.10.3
|| ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.4
|| ==9.4.2
--------------------------------------------------------------------------------
source-repository head
type: git
location: git://github.com/basvandijk/monad-control.git
--------------------------------------------------------------------------------
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall
exposed-modules: Control.Monad.Trans.Control
build-depends:
base >=4.5 && <5
, stm >=2.3 && <2.6
, transformers >=0.2 && <0.7
, transformers-base >=0.4.6 && <0.5
, transformers-compat >=0.6.1 && <0.8