@@ -1,4 +1,8 @@
1{-# OPTIONS_GHC -Wno-deprecations #-}
1{-# OPTIONS_GHC -Wno-deprecations #-}
2+-- XXX We are using head/tail at one place
3+#if __GLASGOW_HASKELL__ >= 908
4+{-# OPTIONS_GHC -Wno-x-partial #-}
4-- Module : Streamly.Test.Prelude.Common
8-- Module : Streamly.Test.Prelude.Common
@@ -85,7 +89,10 @@ module Streamly.Test.Prelude.Common
92+#if !MIN_VERSION_base(4,18,0)
88−import Control.Applicative (ZipList(..), liftA2)
93+import Control.Applicative (liftA2)
95+import Control.Applicative (ZipList(..))
89import Control.Exception (Exception, try)
96import Control.Exception (Exception, try)
90import Control.Concurrent (threadDelay)
97import Control.Concurrent (threadDelay)
91import Control.Monad (replicateM)
98import Control.Monad (replicateM)