forked from ghc/packages-stm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stm.cabal
62 lines (56 loc) · 1.9 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
name: stm
version: 2.4.5.0
-- don't forget to update changelog.md file!
license: BSD3
license-file: LICENSE
maintainer: [email protected]
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
cabal-version: >=1.10
tested-with: GHC==7.10.*, GHC==7.8.*, GHC==7.6.*, GHC==7.4.*, GHC==7.2.*, GHC==7.0.*
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.
extra-source-files:
changelog.md
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
build-depends:
base >= 4.3 && < 4.13,
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