2000 character limit reached
Monoidal Streams for Dataflow Programming (2202.02061v1)
Published 4 Feb 2022 in cs.LO, cs.PL, and math.CT
Abstract: We introduce monoidal streams: a generalization of causal stream functions to monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric monoidal category. At the same time, monoidal streams form a feedback monoidal category, which can be used to interpret signal flow graphs. As an example, we study a stochastic dataflow language.