ACM Home Page
Please provide us with feedback. Feedback
Unrestricted pure call-by-value recursion
Full text PdfPdf (278 KB)
Source
International Conference on Functional Programming archive
Proceedings of the 2008 ACM SIGPLAN workshop on ML table of contents
Victoria, BC, Canada
SESSION: Session 1 table of contents
Pages 23-34  
Year of Publication: 2008
ISBN:978-1-60558-062-3
Authors
Johan Nordlander  Lulea University of Technology, Luleå, Sweden
Magnus Carlsson  Galois, Inc., Portland, OR, USA
Andy J. Gill  The University of Kansas, Lawrence, KS, USA
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 38,   Citation Count: 0
Additional Information:

abstract   references   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/1411304.1411309
What is a DOI?

ABSTRACT

Call-by-value languages commonly restrict recursive definitions by only allowing functions and syntactically explicit values in the right-hand sides. As a consequence, some very appealing programming patterns that work well in lazy functional languages are hard to apply in a call-by-value setting, even though they might not be using laziness for any other purpose than to enable the desired form of recursion.

In this paper we present an operational semantics as well as a straightforward implementation technique for unrestricted recursion under pure call-by-value. On that basis we are able to demonstrate that highly recursive programming idioms such as combinator-based parsing are indeed compatible with call-by-value evaluation.


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
Z. M. Ariola and S. Blom. Skew conïfluence and the lambda calculus with letrec. Annals of pure and applied logic, 117 ((1-3)): 95-178, 2002.
 
2
Gérard Boudol and Pascal Zimmer. Recursion in the call-by-value λ-calculus. In Fixed Points in Computer Science, FICS 2002, Copenhagen, Denmark, July 2002.
3
4
5
6
7
 
8
9
10
 
11
 
12
Johan Nordlander, Magnus Carlsson, Andy Gill, Per Lindgren, and Björn von Sydow. The Timber home page, 2008. URL http://timber-lang.org.
 
13
OCaml. Objective Caml. http://caml.inria.fr/ocaml/.
 
14
 
15
Don Syme. Initializing mutually referential abstract objects: The value recursion challenge. Electr. Notes Theor. Comput. Sci., 148 (2): 3--25, 2006.

Collaborative Colleagues:
Johan Nordlander: colleagues
Magnus Carlsson: colleagues
Andy J. Gill: colleagues