Applicative Bidirectional Programming with Lenses. Matsuda, K. and Wang, M. In Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming, of ICFP 2015, pages 62–74, New York, NY, USA, 2015. ACM. ZSCC: 0000016 event-place: Vancouver, BC, Canada
Applicative Bidirectional Programming with Lenses [link]Paper  doi  abstract   bibtex   
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.
@inproceedings{matsuda_applicative_2015,
	address = {New York, NY, USA},
	series = {{ICFP} 2015},
	title = {Applicative {Bidirectional} {Programming} with {Lenses}},
	isbn = {978-1-4503-3669-7},
	url = {http://doi.acm.org/10.1145/2784731.2784750},
	doi = {10/ggb9f7},
	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.},
	urldate = {2019-11-01},
	booktitle = {Proceedings of the 20th {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
	publisher = {ACM},
	author = {Matsuda, Kazutaka and Wang, Meng},
	year = {2015},
	note = {ZSCC: 0000016 
event-place: Vancouver, BC, Canada},
	keywords = {Bidirectional Programming, Bidirectionalization, Free Theorem, Functional Programming, Haskell, Lens},
	pages = {62--74}
}
Downloads: 0