## The essence of dataflow programming (2005)

Venue: | In APLAS |

Citations: | 18 - 3 self |

### BibTeX

@INPROCEEDINGS{Uustalu05theessence,

author = {Tarmo Uustalu and Varmo Vene},

title = {The essence of dataflow programming},

booktitle = {In APLAS},

year = {2005},

pages = {2--18},

publisher = {Springer}

}

### OpenURL

### Abstract

Abstract. We propose a novel, comonadic approach to dataflow (streambased) computation. This is based on the observation that both general and causal stream functions can be characterized as coKleisli arrows of comonads and on the intuition that comonads in general must be a good means to structure context-dependent computation. In particular, we develop a generic comonadic interpreter of languages for context-dependent computation and instantiate it for stream-based computation. We also discuss distributive laws of a comonad over a monad as a means to structure combinations of effectful and context-dependent computation. We apply the latter to analyse clocked dataflow (partial stream based) computation. 1