Skip to main content

Research Repository

Advanced Search

Bridging the GUI gap with reactive values and relations

Perez, Ivan; Nilsson, Henrik

Authors

Ivan Perez psxip1@nottingham.ac.uk



Abstract

There are at present two ways to write GUIs for functional code. One is to use standard GUI toolkits, with all the benefits they bring in terms of feature completeness, choice of platform, conformance to platform-specific look-and-feel, long-term viability, etc. However, such GUI APIs mandate an imperative programming style for the GUI and related parts of the application. Alternatively, we can use a functional GUI toolkit. The GUI can then be written in a functional style, but at the cost of foregoing many advantages of standard toolkits that often will be of critical importance. This paper introduces a light-weight framework structured around the notions of reactive values and reactive relations . It allows standard toolkits to be used from functional code written in a functional style. We thus bridge the gap between the two worlds, bringing the advantages of both to the developer. Our framework is available on Hackage and has been been validated through the development of non-trivial applications in a commercial context, and with different standard GUI toolkits.

Publication Date Sep 1, 2015
Peer Reviewed Peer Reviewed
APA6 Citation Perez, I., & Nilsson, H. (2015). Bridging the GUI gap with reactive values and relations
Keywords GUI, pure functional programming, reactive values
Publisher URL http://dl.acm.org/citation.cfm?doid=2804302.2804316
Copyright Statement Copyright information regarding this work can be found at the following address: http://eprints.nottingh.../end_user_agreement.pdf
Additional Information © ACM, 2015. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM SIGPLAN Notices, Volume 50, Issue 12, (December 2015) http://doi.acm.org/10.1145/2804302.2804316

Files

paper.pdf (2.7 Mb)
PDF

Copyright Statement
Copyright information regarding this work can be found at the following address: http://eprints.nottingham.ac.uk/end_user_agreement.pdf





You might also like



Downloadable Citations

;