@@ -282,6 +282,9 @@ import Prelude hiding
282-- >>> import Streamly.Internal.Data.Stream.IsStream as Stream
282-- >>> import Streamly.Internal.Data.Stream.IsStream as Stream
283-- >>> import qualified Streamly.Data.Fold as Fold
283-- >>> import qualified Streamly.Data.Fold as Fold
284-- >>> import qualified Streamly.Internal.Data.Fold as Fold
284-- >>> import qualified Streamly.Internal.Data.Fold as Fold
285+-- >>> import System.IO (stdout, hSetBuffering, BufferMode(LineBuffering))
287+-- >>> hSetBuffering stdout LineBuffering
286------------------------------------------------------------------------------
289------------------------------------------------------------------------------
@@ -415,19 +418,19 @@ mapMSerial = Serial.mapM
418−-- drain $ Stream.replicateM 10 (return $ threadDelay 1000000 >> print 1)
421+-- drain $ Stream.replicateM 3 (return $ threadDelay 1000000 >> print 1)
419-- & (fromSerial . Stream.sequence)
422-- & (fromSerial . Stream.sequence)
426−-- drain $ Stream.replicateM 10 (return $ threadDelay 1000000 >> print 1)
429+-- drain $ Stream.replicateM 3 (return $ threadDelay 1000000 >> print 1)
427-- & (fromAsync . Stream.sequence)
430-- & (fromAsync . Stream.sequence)