influxdb-0.9.0.1: Haskell client library for InfluxDB
Database.InfluxDB.Stream
Synopsis
data Stream m a Source
Effectful stream
Constructors
Yield a value. The stream will be continued.
The end of the stream.
mapM :: Monad m => (a -> m b) -> Stream m a -> m (Stream m b) Source
Map each element of a stream to a monadic action, evaluate these actions from left to right, and collect the results as a stream.
fold :: Monad m => (b -> a -> m b) -> b -> Stream m a -> m b Source
Monadic left fold for Stream.
Stream
fold' :: Monad m => (b -> a -> m b) -> b -> Stream m a -> m b Source
Strict version of fold.
fold