English

Monoidal Streams for Dataflow Programming

Logic in Computer Science 2022-02-07 v1 Programming Languages Category Theory

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.

Keywords

Cite

@article{arxiv.2202.02061,
  title  = {Monoidal Streams for Dataflow Programming},
  author = {Elena Di Lavore and Giovanni de Felice and Mario Román},
  journal= {arXiv preprint arXiv:2202.02061},
  year   = {2022}
}

Comments

Draft, 36 pages