@@ -100,11 +100,6 @@ module Streamly.Streams
100100 , runZipStream -- deprecated
101101 , runZipAsync -- deprecated
102102
103− -- * Zipping
104− , zipWith
105− , zipParallelWith
106− , zipAsyncWith -- deprecated
107−
108103 -- * Fold Utilities
109104 , foldWith
110105 , foldMapWith
@@ -121,7 +116,6 @@ import Control.Monad.Reader.Class (MonadReader(..))
121116import Control.Monad.State.Class (MonadState(..))
122117import Control.Monad.Trans.Class (MonadTrans (lift))
123118import Data.Semigroup (Semigroup(..))
124−import Prelude hiding (zipWith)
125119import Streamly.Core ( MonadParallel
126120 , SVar, SVarStyle(..)
127121 , SVarTag(..), SVarSched(..))
@@ -721,10 +715,6 @@ MONAD_COMMON_INSTANCES(ParallelT, MONADPARALLEL)
721715-- Serially Zipping Streams
722716------------------------------------------------------------------------------
723717
724−-- | Zip two streams serially using a pure zipping function.
725−zipWith :: IsStream t => (a -> b -> c) -> t m a -> t m b -> t m c
726−zipWith f m1 m2 = fromStream $ S.zipWith f (toStream m1) (toStream m2)
727−
728718-- | The applicative instance of 'ZipStreamM' zips a number of streams serially
729719-- i.e. it produces one element from each stream serially and then zips all
730720-- those elements.
@@ -757,18 +747,6 @@ instance Monad m => Applicative (ZipStreamM m) where
757747-- Parallely Zipping Streams
758748------------------------------------------------------------------------------
759749
760−-- | Zip two streams concurrently (i.e. both the elements being zipped are
761−-- generated concurrently) using a pure zipping function.
762−zipParallelWith :: (IsStream t, MonadParallel m)
763− => (a -> b -> c) -> t m a -> t m b -> t m c
764−zipParallelWith f m1 m2 =
765− fromStream $ S.zipParallelWith f (toStream m1) (toStream m2)
766−
767−{-# DEPRECATED zipAsyncWith "Please use zipParallelWith instead." #-}
768−zipAsyncWith :: (IsStream t, MonadParallel m)
769− => (a -> b -> c) -> t m a -> t m b -> t m c
770−zipAsyncWith = zipParallelWith
771−
772750-- | Like 'ZipStreamM' but zips in parallel, it generates all the elements to
773751-- be zipped concurrently.
774752--