Tue 27 Oct 2015 11:15 - 11:37 at Haselton 1 - Session 2

Functional Reactive Programming (FRP) is a model of reactive programming distinguished by having a well-defined semantics given by time-indexed values. Promises are one-shot communication channels which allow asynchronous programs to be written in a synchronous style. In this paper, we show how “timed promise lists”, a timestamped linked list structure using promises rather than pointers, can be used to implement FRP. This idea originated with Elliott’s “Push/Pull FRP”, and we show that it can be expressed idiomatically in a strict functional language with promises, JavaScript. We identify a potential space leak with JavaScript’s built-in promises and propose an alternative implementation that avoids the leak.

Tue 27 Oct

10:30 - 12:00: REBLS - Session 2 at Haselton 1
rebls201510:30 - 10:52
Simon Van de WaterVUB, Thierry RenauxVrije Universiteit Brussel, Lode Hoste, Wolfgang De MeuterVrije Universiteit Brussel
rebls201510:52 - 11:15
Eric Fritz, Tian ZhaoUniversity of Wisconsin-Milwaukee
rebls201511:15 - 11:37
Alan JeffreyAlcatel-Lucent Bell Labs, Tom Van CutsemAlcatel-Lucent Bell Labs
rebls201511:37 - 12:00
Miguel DominguesNOVA-LINCS - Universidade Nova de Lisboa, João Costa SecoNOVA LINCS -- Universidade Nova de Lisboa