Designing aspects for side-effect localization
Author(s) -
Kung Chen,
Jiayin Lin,
Shu-Chun Weng,
SiauCheng Khoo
Publication year - 2009
Publication title -
citeseer x (the pennsylvania state university)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/1480945.1480973
Subject(s) - computer science , construct (python library) , functional programming , code (set theory) , simple (philosophy) , programming language , side effect (computer science) , scheme (mathematics) , computation , theoretical computer science , mathematics , mathematical analysis , philosophy , set (abstract data type) , epistemology
Computation performed in many typical aspects involve side effects. In a purely functional setting, adding such aspects using techniques such as monadification will generally lead to crosscutting changes. This paper presents an approach to provide side-effecting aspects for purely lazy functional languages in a user transparent fashion. We propose a simple yet direct state manipulation construct for developing side-effecting aspects and devise a systematic monadification scheme to translate the woven code to a purely monadic style functional code.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom