1 |
gienah 12/06/02 03:14:13 |
2 |
|
3 |
Added: lifted-base-0.1.1-test-ghc-6.12.patch |
4 |
Log: |
5 |
Bump lifted-base to 0.1.1. Loosen transformers dep in lifted-base-0.1.0.3-r1. |
6 |
|
7 |
(Portage version: 2.1.10.63/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-haskell/lifted-base/files/lifted-base-0.1.1-test-ghc-6.12.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lifted-base/files/lifted-base-0.1.1-test-ghc-6.12.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lifted-base/files/lifted-base-0.1.1-test-ghc-6.12.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: lifted-base-0.1.1-test-ghc-6.12.patch |
16 |
=================================================================== |
17 |
--- lifted-base-0.1.1-orig/test/test.hs 2012-04-28 23:47:19.000000000 +1000 |
18 |
+++ lifted-base-0.1.1/test/test.hs 2012-05-04 11:21:19.840997008 +1000 |
19 |
@@ -1,4 +1,4 @@ |
20 |
-{-# LANGUAGE DeriveDataTypeable, FlexibleContexts #-} |
21 |
+{-# LANGUAGE DeriveDataTypeable, FlexibleContexts, CPP #-} |
22 |
|
23 |
-- from base: |
24 |
import Prelude hiding (catch) |
25 |
@@ -38,7 +38,9 @@ |
26 |
main :: IO () |
27 |
main = defaultMain |
28 |
[ testSuite "IdentityT" runIdentityT |
29 |
- , testSuite "ListT" $ fmap head . runListT |
30 |
+#if MIN_VERSION_base(4,3,0) |
31 |
+ , testSuite "ListT" $ fmap head . runListT -- this test fails with ghc 6.12.3 |
32 |
+#endif |
33 |
, testSuite "MaybeT" $ fmap fromJust . runMaybeT |
34 |
, testSuite "ReaderT" $ flip runReaderT "reader state" |
35 |
, testSuite "WriterT" runWriterT' |