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

Atze van der Ploeg, Koen Claessen
2015 Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming - ICFP 2015  
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 I/O 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.
more » ... heir 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.
doi:10.1145/2784731.2784752 dblp:conf/icfp/PloegC15 fatcat:4yygtluhinae3f7vro65ypkigi