influxdb-0.5.0: 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 bSource
Monadic left fold for Stream.
Stream
fold' :: Monad m => (b -> a -> m b) -> b -> Stream m a -> m bSource
Strict version of fold.
fold