-
Notifications
You must be signed in to change notification settings - Fork 35
/
stm.cabal
85 lines (75 loc) · 2.3 KB
/
stm.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
73
74
75
76
77
78
79
80
81
82
83
84
85
cabal-version: >=1.10
name: stm
version: 2.5.3.1
-- don't forget to update changelog.md file!
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
homepage: https://wiki.haskell.org/Software_transactional_memory
bug-reports: https://github.com/haskell/stm/issues
synopsis: Software Transactional Memory
category: Concurrency
build-type: Simple
description:
Software Transactional Memory, or STM, is an abstraction for
concurrent communication. The main benefits of STM are
/composability/ and /modularity/. That is, using STM you can write
concurrent abstractions that can be easily composed with any other
abstraction built using STM, without exposing the details of how
your abstraction ensures safety. This is typically not the case
with other forms of concurrent communication, such as locks or
'MVar's.
tested-with:
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.6.4
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
extra-source-files:
changelog.md
README.md
testsuite/src/*.hs
testsuite/testsuite.cabal
source-repository head
type: git
location: https://github.com/haskell/stm.git
library
default-language: Haskell2010
other-extensions:
CPP
DeriveDataTypeable
FlexibleInstances
MagicHash
MultiParamTypeClasses
UnboxedTuples
if impl(ghc >= 7.2)
other-extensions: Trustworthy
if impl(ghc >= 7.9)
other-extensions: Safe
if !impl(ghc >= 7.10)
build-depends: nats (>= 0.1.3 && < 0.3) || (>= 1 && < 1.2)
if !impl(ghc >= 8.0)
build-depends: semigroups >=0.18.6 && <0.21
build-depends:
base >= 4.4 && < 4.21,
array >= 0.3 && < 0.6
exposed-modules:
Control.Concurrent.STM
Control.Concurrent.STM.TArray
Control.Concurrent.STM.TVar
Control.Concurrent.STM.TChan
Control.Concurrent.STM.TMVar
Control.Concurrent.STM.TQueue
Control.Concurrent.STM.TBQueue
Control.Concurrent.STM.TSem
Control.Monad.STM
other-modules:
Control.Sequential.STM
ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates