on bf52f1d help sign in
stackage/patching/patches/hoogle-4.2.29.patch
70 lines 2.4 kB history raw
1diff -ru orig/CHANGES.txt new/CHANGES.txt
2--- orig/CHANGES.txt 2014-04-03 10:49:26.498200538 +0300
3+++ new/CHANGES.txt 2014-04-03 10:49:26.000000000 +0300
4@@ -1,5 +1,6 @@
5 Changelog for Hoogle
6
7+ #57, support QuickCheck-2.7
8 4.2.29
9 #55, if reading as UTF8 fails, explicitly try Latin1
10 Add QuickCheck as a dependency
11diff -ru orig/hoogle.cabal new/hoogle.cabal
12--- orig/hoogle.cabal 2014-04-03 10:49:26.518200537 +0300
13+++ new/hoogle.cabal 2014-04-03 10:49:26.000000000 +0300
14@@ -46,6 +46,7 @@
15 binary,
16 bytestring >= 0.9,
17 conduit >= 0.2,
18+ resourcet,
19 parsec >= 2.1,
20 deepseq >= 1.1,
21 text >= 0.11,
22@@ -145,6 +146,7 @@
23 transformers >= 0.2,
24 uniplate >= 1.6,
25 conduit >= 0.2,
26+ resourcet,
27 parsec >= 2.1,
28 wai >= 1.1,
29 warp >= 1.1,
30diff -ru orig/src/General/Web.hs new/src/General/Web.hs
31--- orig/src/General/Web.hs 2014-04-03 10:49:26.510200537 +0300
32+++ new/src/General/Web.hs 2014-04-03 10:49:26.000000000 +0300
33@@ -30,7 +30,8 @@
35 import Blaze.ByteString.Builder(toLazyByteString)
36 import Data.Conduit.List(consume)
37-import Data.Conduit(($$),Flush,runResourceT,Flush(Chunk))
38+import Data.Conduit(($$),Flush,Flush(Chunk))
39+import Control.Monad.Trans.Resource (runResourceT)
41 type Args = [(String, String)]
43diff -ru orig/src/Test/BWT_FM.hs new/src/Test/BWT_FM.hs
44--- orig/src/Test/BWT_FM.hs 2014-04-03 10:49:26.502200538 +0300
45+++ new/src/Test/BWT_FM.hs 2014-04-03 10:49:26.000000000 +0300
46@@ -3,11 +3,10 @@
47 module Test.BWT_FM(bwt_fm) where
49 import Test.General
50-import Test.QuickCheck
51 import General.BurrowsWheeler
54 bwt_fm = do
55 compress "tomorrow and tomorrow and tomorrow" === (31,"wwwdd nnoooaatttmmmrrrrrrooo ooo")
56 decompress (31,"wwwdd nnoooaatttmmmrrrrrrooo ooo") === "tomorrow and tomorrow and tomorrow"
57- quickCheck $ \x -> decompress (compress x) == x
58+ randCheck $ \x -> decompress (compress x) == x
59diff -ru orig/src/Test/General.hs new/src/Test/General.hs
60--- orig/src/Test/General.hs 2014-04-03 10:49:26.502200538 +0300
61+++ new/src/Test/General.hs 2014-04-03 10:49:26.000000000 +0300
62@@ -3,7 +3,7 @@
64 import Control.Monad
65 import qualified Data.ByteString as BS
66-import Test.QuickCheck
67+import Test.QuickCheck(Arbitrary(..), quickCheckWithResult, stdArgs, Testable, Result(..))
70 instance Arbitrary BS.ByteString where