Data.MonadicStreamFunction.Util

Useful aliases

type MStream m a

type MSink m a

Stateful accumulation

accumulateWith

Accumulation for monoids

mappendS

mappendFrom

Accumulation for VectorSpace instances

sumFrom

sumS

count

Generating Signals

unfold

repeatedly

Analogues of map and fmap

mapMSF

mapMaybeS

Adding side effects

withSideEffect

withSideEffect_

Debugging

traceWith

trace

traceWhen

pauseOn

Inserting monadic actions into MSFs

insert

arrM_

Lifting from one monad into another

(^>>>)

(>>>^)

Delays and signal overwriting

iPost

next

Alternative running functions

embed_