>>> f = Fold.drainMapM (\x -> print x >> threadDelay 1000000) >>> Stream.fold f $ Stream.take 3 $ Stream.times (AbsTime (TimeSpec {sec = ..., nsec = ...}),RelTime64 (NanoSecond64 ...)) (AbsTime (TimeSpec {sec = ..., nsec = ...}),RelTime64 (NanoSecond64 ...)) (AbsTime (TimeSpec {sec = ..., nsec = ...}),RelTime64 (NanoSecond64 ...))Note: This API is not safe on 32-bit machines. Pre-release
>>> import Control.Concurrent (threadDelay) >>> f = Fold.drainMapM (\x -> print x >> threadDelay 1000000) >>> Stream.fold f $ Stream.take 3 $ Stream.timesWith 0.01 (AbsTime (TimeSpec {sec = ..., nsec = ...}),RelTime64 (NanoSecond64 ...)) (AbsTime (TimeSpec {sec = ..., nsec = ...}),RelTime64 (NanoSecond64 ...)) (AbsTime (TimeSpec {sec = ..., nsec = ...}),RelTime64 (NanoSecond64 ...))Note: This API is not safe on 32-bit machines. Pre-release
>>> Stream.fold Fold.toList $ Stream.timestampWith 0.01 $ Stream.delay 1 $ Stream.enumerateFromTo 1 3 [(AbsTime (TimeSpec {sec = ..., nsec = ...}),1),(AbsTime (TimeSpec {sec = ..., nsec = ...}),2),(AbsTime (TimeSpec {sec = ..., nsec = ...}),3)]Pre-release
>>> f = Fold.drainMapM print >>> Stream.fold f $ Stream.delayPre 1 $ Stream.take 3 $ Stream.absTimes AbsTime (TimeSpec {sec = ..., nsec = ...}) AbsTime (TimeSpec {sec = ..., nsec = ...}) AbsTime (TimeSpec {sec = ..., nsec = ...})Note: This API is not safe on 32-bit machines. Pre-release
>>> f = Fold.drainMapM print >>> Stream.fold f $ Stream.delayPre 1 $ Stream.take 3 $ Stream.absTimesWith 0.01 AbsTime (TimeSpec {sec = ..., nsec = ...}) AbsTime (TimeSpec {sec = ..., nsec = ...}) AbsTime (TimeSpec {sec = ..., nsec = ...})Note: This API is not safe on 32-bit machines. Pre-release
>>> f = Fold.drainMapM print >>> Stream.fold f $ Stream.delayPre 1 $ Stream.take 3 $ Stream.relTimes RelTime64 (NanoSecond64 ...) RelTime64 (NanoSecond64 ...) RelTime64 (NanoSecond64 ...)Note: This API is not safe on 32-bit machines. Pre-release
>>> f = Fold.drainMapM print >>> Stream.fold f $ Stream.delayPre 1 $ Stream.take 3 $ Stream.relTimesWith 0.01 RelTime64 (NanoSecond64 ...) RelTime64 (NanoSecond64 ...) RelTime64 (NanoSecond64 ...)Note: This API is not safe on 32-bit machines. Pre-release