Ticket #4343: export_throwSTM_when_base-4.3.dpatch

File export_throwSTM_when_base-4.3.dpatch, 1.5 KB (added by basvandijk, 3 years ago)
Line 
11 patch for repository http://darcs.haskell.org/packages/stm:
2
3Sat Oct 23 01:52:54 CEST 2010  Bas van Dijk <v.dijk.bas@gmail.com>
4  * Only export throwSTM from Control.Monad.STM when base >= 4.3
5
6New patches:
7
8[Only export throwSTM from Control.Monad.STM when base >= 4.3
9Bas van Dijk <v.dijk.bas@gmail.com>**20101022235254
10 Ignore-this: 11979005d4920547b0dc617a521c7b19
11] {
12hunk ./Control/Monad/STM.hs 34
13        orElse,
14        check,
15 #endif
16+#if MIN_VERSION_base(4,3,0)
17         throwSTM,
18hunk ./Control/Monad/STM.hs 36
19+#endif
20         catchSTM
21   ) where
22 
23}
24
25Context:
26
27[Warning police: -fglasgow-exts is deprecated: Use individual extensions instead
28Bas van Dijk <v.dijk.bas@gmail.com>**20101020221951
29 Ignore-this: 7e020511b7393a0b082045e9052e2925
30]
31[bump version to 2.2.0.0 following change to catchSTM
32Simon Marlow <marlowsd@gmail.com>**20101020140150
33 Ignore-this: 813b845ed1e5d5c2f924f74ec3b66707
34]
35[update tests after change to catchSTM
36Simon Marlow <marlowsd@gmail.com>**20101020140046
37 Ignore-this: a54d40df362f7d19966d47eec8b95a69
38]
39[Add throwSTM :: Exception e => e -> STM a
40Bas van Dijk <v.dijk.bas@gmail.com>**20100926181824
41 Ignore-this: fba233747030912f882ef02b984f6b6a
42]
43[add parens around MIN_VERSION_base(4,3,0) to workaround bug with older Cabal
44Simon Marlow <marlowsd@gmail.com>**20101005093658
45 Ignore-this: fc8bab7a7fd50eed2be06a1adfabb810
46]
47[TAG 2.1.2.2
48Simon Marlow <marlowsd@gmail.com>**20100715153144
49 Ignore-this: dd4843fc8b82f206ff61ae95968cddd6
50]
51Patch bundle hash:
52899a1c3a583c7760747ccf27e1ca066b9c0289e8