on master help sign in
Make the doc of Stream.trace work with docspec
12c7787Adithya Kumar
src/Streamly/Internal/Data/Stream/IsStream/Transform.hs−3
@@ -586,13 +586,10 @@ pollCounts predicate transf f xs =
586-- | Apply a monadic function to each element flowing through the stream and
586-- | Apply a monadic function to each element flowing through the stream and
587-- discard the results.
587-- discard the results.
588--
588--
589−-- @
590-- >>> Stream.drain $ Stream.trace print (Stream.enumerateFromTo 1 2)
589-- >>> Stream.drain $ Stream.trace print (Stream.enumerateFromTo 1 2)
591-- 1
590-- 1
592-- 2
591-- 2
593--
592--
594−-- @
595−--
596-- Compare with 'tap'.
593-- Compare with 'tap'.
597--
594--
598-- @since 0.7.0
595-- @since 0.7.0