The Essence of Dataflow Programming
The Essence of Dataflow Programming
复制标题
数据流编程的本质
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
Varmo Vene
中科院分区:
文献类型:
--
作者:
Tarmo Uustalu;Varmo Vene
We propose a novel, comonadic approach to dataflow (stream-based) 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.