Functional reactive programming, refactored

Author:

Perez Ivan1,Bärenz Manuel2,Nilsson Henrik1

Affiliation:

1. University of Nottingham, UK

2. University of Bamberg, Germany

Abstract

Functional Reactive Programming (FRP) has come to mean many things. Yet, scratch the surface of the multitude of realisations, and there is great commonality between them. This paper investigates this commonality, turning it into a mathematically coherent and practical FRP realisation that allows us to express the functionality of many existing FRP systems and beyond by providing a minimal FRP core parameterised on a monad. We give proofs for our theoretical claims and we have verified the practical side by benchmarking a set of existing, non-trivial Yampa applications running on top of our new system with very good results.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference26 articles.

1. Reification of time in FRP. http://pchiusano.blogspot.co.uk/ 2010/07/reification-of-time-in-frp-is.html. Reification of time in FRP. http://pchiusano.blogspot.co.uk/ 2010/07/reification-of-time-in-frp-is.html.

2. Haskanoid. github.com/ivanperez-keera/haskanoid. Haskanoid. github.com/ivanperez-keera/haskanoid.

3. Magic Cookies! https://play.google.com/store/apps/ details?id=uk.co.keera.games.magiccookies. Magic Cookies! https://play.google.com/store/apps/ details?id=uk.co.keera.games.magiccookies.

4. Pipes. https://hackage.haskell.org/package/pipes. Pipes. https://hackage.haskell.org/package/pipes.

5. E. Bainomugisha A. L. Carreton T. v. Cutsem S. Mostinckx and W. d. Meuter. A survey on reactive programming. ACM Computing Surveys (CSUR) 45(4):52 2013. 10.1145/2501654.2501666 E. Bainomugisha A. L. Carreton T. v. Cutsem S. Mostinckx and W. d. Meuter. A survey on reactive programming. ACM Computing Surveys (CSUR) 45(4):52 2013. 10.1145/2501654.2501666

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. The Essence of Reactivity;Proceedings of the 16th ACM SIGPLAN International Haskell Symposium;2023-08-30

2. Semantics of RxJS;Proceedings of the 9th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems;2022-11-29

3. Using Functional Reactive Programming to Define Safe Actor Systems;Proceedings of the 24th ACM International Workshop on Formal Techniques for Java-like Programs;2022-06-07

4. Asynchronous monad for reactive IoT programming;Proceedings of the 7th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems;2020-11-15

5. Hailstorm: A Statically-Typed, Purely Functional Language for IoT Applications;22nd International Symposium on Principles and Practice of Declarative Programming;2020-09-08

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3