Skip Navigation

The Computer Journal 1989 32(2):142-151; doi:10.1093/comjnl/32.2.142
© 1989 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (11)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Wray, S. C.
Right arrow Articles by Fairbairn, J.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

Non-strict Languages – Programming and Implementation

S. C. Wray1 * ¶ and J. Fairbairn2 §

1 Olivetti Research Limited, 24a Trumpington Street, Cambridge CB2 1QA, UK, 2 University of Cambridge Computer Laboratory, Pembroke Street, Cambridge CB2 3QG, UK

Non-strict evaluation improves the expressive power of functional languages at the expense of an apparent loss of efficiency. In this paper we give examples of this expressive power, taking as an example an interactive functional program and describing the programming techniques depending on non-strict evaluation which improved its design. Implementation methods for non-strict languages have delivered poor performance precisely when such programming techniques have been used. This need not be the case, however, and in the second part of the paper we describe Tim, a method of implementing non-strict languages for which the penalty for using lazy evaluation is very small.


Received November 1988.

* Olivetti Research Limited, 24a Trumpington Street, Cambridge CB2 1QA

§ University of Cambridge Computer Laboratory, Pembroke Street, Cambridge CB2 3QG

To whom correspondence should be addressed.


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.