| In-place updates in the presence of control operators |
| Full text |
Pdf
(1.06 MB)
|
| Source
|
Conference on LISP and Functional Programming
archive
Proceedings of the 1994 ACM conference on LISP and functional programming
table of contents
Orlando, Florida, United States
Pages: 283 - 293
Year of Publication: 1994
ISBN:0-89791-643-3
Also published in ...
|
|
Author
|
|
Sandip K. Biswas
|
Department of CIS, University of Pennsylvania, Philadelphia, PA
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 2, Downloads (12 Months): 12, Citation Count: 0
|
|
|
ABSTRACT
This paper presents a formal account of the concept of in-place updates in purely functional languages. In purely functional languages, updates of abstract objects involve creating duplicates of these objects. This paper reviews static conditions, which, if satisfied by &lgr;-terms, guarantee that, even if updates are performed in-place, the purely functional semantics is retained. These static conditions, however, fail to guarantee the requisite safety in the presence of control operators like callcc and throw. The conditions are hence augmented by another condition which is defined on the operational semantics. Here we statically verify the satisfiability of a conservative approximation of this condition by data-flow analysis on CPS-terms. Also a significant class of programs is identified for which the condition holds even without data-flow analysis.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
 |
3
|
|
| |
4
|
P. Hudak. Mutable abstract datatypes. Technical Report YALEU/DCS/RR-914, Yale University, 1993.
|
 |
5
|
|
| |
6
|
P. Curien R. Cartwright and M.Felleisen. Fully abstract models of observably sequential languages. Technical Report TR93-219, Rice University, 1993.
|
 |
7
|
|
 |
8
|
|
 |
9
|
|
| |
10
|
|
| |
11
|
A. K. Wright and M. Felleisen. A syntactic approach to type soundness. Technical Report COMP TR91-160, Department of Computer, Rice University, 1991.
|
|