Abstract
A bidirectional transformation is a pair of mappings between source and view data objects, one in each direction. When the view is modified, the source is updated accordingly with respect to some laws. One way to reduce the development and maintenance effort of bidirectional transformations is to have specialized languages in which the resulting programs are bidirectional by construction---giving rise to the paradigm of bidirectional programming. In this paper, we develop a framework for applicative-style and higher-order bidirectional programming, in which we can write bidirectional transformations as unidirectional programs in standard functional languages, opening up access to the bundle of language features previously only available to conventional unidirectional languages. Our framework essentially bridges two very different approaches of bidirectional programming, namely the lens framework and Voigtländer's semantic bidirectionalization, creating a new programming style that is able to bag benefits from both.
Original language | English |
---|---|
Title of host publication | ICFP '15 Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming |
Publisher | Association for Computing Machinery (ACM) |
Pages | 62-74 |
Number of pages | 13 |
ISBN (Print) | 9781450336697 |
DOIs | |
Publication status | Published - 1 Aug 2015 |
Research Groups and Themes
- Programming Languages
Keywords
- Bidirectional Programming
- Bidirectionalization
- Free Theorem
- Functional Programming
- Haskell
- Lens
Fingerprint
Dive into the research topics of 'Applicative Bidirectional Programming with Lenses'. Together they form a unique fingerprint.Profiles
-
Dr Meng Wang
- School of Computer Science - Associate Professor of Programming Languages
Person: Academic