Make the doc of Stream.trace work with docspec
commit12c778795cd5a7bc6c9245223afadf13e175bd37
authorAdithya Kumar <adithya@composewell.com>
dateSat 18 Jun 2022, 21:15 (4 years ago)
parent3387346
src/Streamly/Internal/Data/Stream/IsStream/Transform.hs−3
@@ -586,13 +586,10 @@ pollCounts predicate transf f xs =
586586-- | Apply a monadic function to each element flowing through the stream and
587587-- discard the results.
588588--
589−-- @
590589-- >>> Stream.drain $ Stream.trace print (Stream.enumerateFromTo 1 2)
591590-- 1
592591-- 2
593592--
594−-- @
595−--
596593-- Compare with 'tap'.
597594--
598595-- @since 0.7.0