Functional Reactive GUI Programming with Modal Types.

Jean-Claude Disch, Asger Heegaard, Patrick Bahr

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

Abstract

Functional reactive programming (FRP) is a programming paradigm for implementing reactive systems, i.e. programs that continuously interact with their environments. While FRP allows for a functional, high-level programming style, FRP programs are prone to undesirable operational behaviours such as space leaks. To ensure favourable operational properties of FRP programs, modal type systems have been introduced, which – among other things – make it impossible to write FRP programs with implicit space leaks. In a recent development, several modal FRP languages have been introduced that are able to accommodate asynchronous events and behaviours – motivated by the goal to use such languages for GUI programming.

This paper explores the suitability of one such asynchronous modal FRP language – called Async Rattus – for GUI programming in practice. To this end, we have implemented a mild extension of the Async Rattus language and used it to implement a small GUI framework. We demonstrate the language and its GUI framework by a number of case studies.
Original languageEnglish
Title of host publication Trends in Functional Programming : 26th International Symposium, TFP 2025, Oxford, UK, January 14–16, 2025, Revised Selected Papers
Number of pages22
Volume15652
PublisherSpringer
Publication date1 Oct 2025
Pages93-114
ISBN (Electronic)978-3-031-99751-8
DOIs
Publication statusPublished - 1 Oct 2025
EventSymposium on Trends in Functional Programming - United Kingdom , Oxford, United Kingdom
Duration: 13 Jan 202516 Jan 2025
Conference number: 26
https://trendsfp.github.io/2025/

Conference

ConferenceSymposium on Trends in Functional Programming
Number26
LocationUnited Kingdom
Country/TerritoryUnited Kingdom
CityOxford
Period13/01/202516/01/2025
Internet address
SeriesLNCS
Volume15652

Keywords

  • Functional Reactive Programming
  • Modal Types
  • Type Systems
  • GUI
  • Haskell

Fingerprint

Dive into the research topics of 'Functional Reactive GUI Programming with Modal Types.'. Together they form a unique fingerprint.

Cite this