ACM Home Page
Please provide us with feedback. Feedback
Computing cyclic list structures
Full text PdfPdf (662 KB)
Source Conference on LISP and Functional Programming archive
Proceedings of the 1980 ACM conference on LISP and functional programming table of contents
Stanford University, California, United States
Pages: 144 - 153  
Year of Publication: 1980
Authors
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 21,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800087.802800
What is a DOI?

ABSTRACT

It is argued that list structures containing cycles are useful and unobjectionable Lisp entities. If this is so, it is desirable to have a means of computing them less foreign to the equational-definition style characteristic of Lisp than are the list-structure-altering primitives rplaca and rplacd. A notion is developed of a reasonable system of mutually recursive equations, guaranteed to have a unique solution in list structures. The notion is given in terms of the computations invoked by the equations, without reference to the forms of expressions appearing in them. A variety of programming examples are presented, including a curious implementation of the Knuth-Morris-Pratt string matching algorithm. Two methods of implementing the recursive definition facility are discussed.


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
Landin, P.J., "The mechanical evaluation of expressions", The Computer Journal 6, 4 (January 1964), pp. 308-319.
 
2
Burge, W.H., Recursive Programming Techniques, Addison-Wesley, Reading Mass. (1975).
 
3
4
 
5
Friedman, D.P. and Wise, D.S., "Cons should not evaluate its arguments", Third International Colloquium on Automata, Languages, and Programming, Michaelson, S. and Milner, R., eds., Edinburgh University Press, (1976).
 
6
Morris, F.L., "On list structures and their use in the programming of unification", Syracuse University, C.I.S. report 4-78.
 
7
Knuth, D.E., Morris, J.H., and Pratt, V.R., "Fast pattern matching in strings," SIAM Journal of Computing 6 2 (June 1977), pp. 323-350.
 
8
Schwarz, J.S., "Verifying the safe use of destructive operations in applicative programs", Proc. 3rd International Symposium on Programming, B. Robinet ed., Dunod, Paris (1978).


Collaborative Colleagues:
F. Lockwood Morris: colleagues
Jerald S. Schwarz: colleagues