@@ -18,9 +18,6 @@
19module Streamly.Internal.Data.Fold.Concurrent
19module Streamly.Internal.Data.Fold.Concurrent
24 -- * Configuration
21 -- * Configuration
26 , maxBuffer
23 , maxBuffer
@@ -30,13 +27,12 @@ module Streamly.Internal.Data.Fold.Concurrent
30 -- * Combinators
27 -- * Combinators
31 -- | Stream combinators using Async channel
28 -- | Stream combinators using Async channel
38−import Streamly.Internal.Control.Concurrent (MonadAsync)
34+-- import Streamly.Internal.Control.Concurrent (MonadAsync)
39−import Streamly.Internal.Data.Fold (Fold)
35+-- import Streamly.Internal.Data.Fold (Fold)
41import Streamly.Internal.Data.Fold.Concurrent.Channel
37import Streamly.Internal.Data.Fold.Concurrent.Channel
@@ -60,6 +56,7 @@ import Streamly.Internal.Data.Fold.Concurrent.Channel
60-- return n -- IO Int
56-- return n -- IO Int
63-- | Evaluate a stream asynchronously using a channel and serve the consumer
60-- | Evaluate a stream asynchronously using a channel and serve the consumer
64-- from the evaluation buffer.
61-- from the evaluation buffer.
@@ -68,3 +65,4 @@ import Streamly.Internal.Data.Fold.Concurrent.Channel
68{-# INLINE eval #-}
65{-# INLINE eval #-}
69eval :: MonadAsync m => Fold m a b -> Fold m a b
66eval :: MonadAsync m => Fold m a b -> Fold m a b
70eval = parEval id
67eval = parEval id