@gdmcbain

Practical principled FRP: forget the past, change the future, FRPNow!

, and . Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming, ACM, (August 2015)
DOI: 10.1145/2784731.2784752

Abstract

We present a new interface for practical Functional Reactive Programming (FRP) that (1) is close in spirit to the original FRP ideas, (2) does not have the original space-leak problems, without using arrows or advanced types, and (3) provides a simple and expressive way for performing IO actions from FRP code. We also provide a denotational semantics for this new interface, and a technique (using Kripke logical relations) for reasoning about which FRP functions may "forget their past", i.e. which functions do not have an inherent space-leak. Finally, we show how we have implemented this interface as a Haskell library called FRPNow.

Links and resources

Tags

community