@@ -127,9 +127,10 @@ import Test.Hspec
127import Test.QuickCheck (Property, choose, forAll, withMaxSuccess)
127import Test.QuickCheck (Property, choose, forAll, withMaxSuccess)
128import Test.QuickCheck.Monadic (assert, monadicIO, run)
128import Test.QuickCheck.Monadic (assert, monadicIO, run)
130−import Streamly.Prelude
130+import Streamly.Prelude (SerialT, IsStream, (.:), nil, (|&), serially)
131+#ifndef COVERAGE_BUILD
131− ( SerialT, IsStream, (.:), nil, (|&), serially, avgRate, rate, maxBuffer
132+import Streamly.Prelude (avgRate, rate, maxBuffer, maxThreads)
132− , maxThreads, maxBuffer)
133+#endif
133import qualified Streamly.Prelude as S
134import qualified Streamly.Prelude as S
134import qualified Streamly.Data.Fold as FL
135import qualified Streamly.Data.Fold as FL
135import qualified Streamly.Internal.Data.Fold as FL
136import qualified Streamly.Internal.Data.Fold as FL
@@ -1710,7 +1711,11 @@ folded =
1710 [x] -> return x -- singleton stream case
1711 [x] -> return x -- singleton stream case
1711 _ -> S.concatMapFoldableWith (<>) return xs)
1712 _ -> S.concatMapFoldableWith (<>) return xs)
1714+#ifndef COVERAGE_BUILD
1713makeCommonOps :: IsStream t => (t m a -> c) -> [(String, t m a -> c)]
1715makeCommonOps :: IsStream t => (t m a -> c) -> [(String, t m a -> c)]
1717+makeCommonOps :: b -> [(String, b)]
1714makeCommonOps t =
1719makeCommonOps t =
1715 [ ("default", t)
1720 [ ("default", t)
1716#ifndef COVERAGE_BUILD
1721#ifndef COVERAGE_BUILD
@@ -1723,7 +1728,11 @@ makeCommonOps t =
1731+#ifndef COVERAGE_BUILD
1726makeOps :: IsStream t => (t m a -> c) -> [(String, t m a -> c)]
1732makeOps :: IsStream t => (t m a -> c) -> [(String, t m a -> c)]
1734+makeOps :: b -> [(String, b)]
1727makeOps t = makeCommonOps t ++
1736makeOps t = makeCommonOps t ++
1729#ifndef COVERAGE_BUILD
1738#ifndef COVERAGE_BUILD