@@ -30,7 +30,7 @@ import GHC.Generics (Generic)
3030
3131import qualified Streamly as S hiding (foldMapWith, runStream)
3232import qualified Streamly.Prelude as S
33−import qualified Streamly.Pipe as Pipe
33+-- import qualified Streamly.Pipe as Pipe
3434
3535value, maxValue, value2 :: Int
3636#ifdef LINEAR_ASYNC
@@ -370,14 +370,9 @@ scan, scanl1', map, fmap, mapMaybe, filterEven, filterAllOut,
370370mapMaybeM, intersperse :: S.MonadAsync m => Int -> Stream m Int -> m ()
371371
372372{-# INLINE mapM #-}
373−{-# INLINE transformMapM #-}
374−{-# INLINE transformComposeMapM #-}
375−{-# INLINE transformTeeMapM #-}
376−{-# INLINE transformZipMapM #-}
377373{-# INLINE map' #-}
378374{-# INLINE fmap' #-}
379−mapM, map', transformMapM, transformComposeMapM, transformTeeMapM,
380− transformZipMapM :: (S.IsStream t, S.MonadAsync m)
375+mapM, map' :: (S.IsStream t, S.MonadAsync m)
381376 => (t m Int -> S.SerialT m Int) -> Int -> t m Int -> m ()
382377
383378fmap' :: (S.IsStream t, S.MonadAsync m, P.Functor (t m))
@@ -395,6 +390,18 @@ map n = composeN n $ S.map (+1)
395390map' t n = composeN' n $ t . S.map (+1)
396391mapM t n = composeN' n $ t . S.mapM return
397392
393+-- Temporarily commented these ops as they depend on the hidden
394+-- Pipe module.
395+{-
396+{-# INLINE transformMapM #-}
397+{-# INLINE transformComposeMapM #-}
398+{-# INLINE transformTeeMapM #-}
399+{-# INLINE transformZipMapM #-}
400+
401+transformMapM, transformComposeMapM, transformTeeMapM,
402+ transformZipMapM :: (S.IsStream t, S.MonadAsync m)
403+ => (t m Int -> S.SerialT m Int) -> Int -> t m Int -> m ()
404+
398405transformMapM t n = composeN' n $ t . S.transform (Pipe.mapM return)
399406transformComposeMapM t n = composeN' n $ t . S.transform
400407 (Pipe.mapM (\x -> return (x + 1))
@@ -405,6 +412,7 @@ transformTeeMapM t n = composeN' n $ t . S.transform
405412transformZipMapM t n = composeN' n $ t . S.transform
406413 (Pipe.zipWith (+) (Pipe.mapM (\x -> return (x + 1)))
407414 (Pipe.mapM (\x -> return (x + 2))))
415+-}
408416
409417mapMaybe n = composeN n $ S.mapMaybe
410418 (\x -> if Prelude.odd x then Nothing else Just x)