|
ABSTRACT
Students have trouble understanding the difference between lazy and strict programming. It is difficult to compare the two directly, because popular strict languages and popular lazy languages differ in their syntax, in their type systems, and in other ways unrelated to the lazy/strict evaluation discipline.While teaching programming languages courses, we have discovered that an extension to PLT Scheme allows the system to accommodate both lazy and strict evaluation in the same system. Moreover, the extension is simple and transparent. Finally, the simple nature of the extension means that the resulting system provides a rich environment for both lazy and strict programs without modification.
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
|
P. L. Bewig. SRFI 40: A library of streams. http://srfi.schemers.org/srfi-40/.
|
| |
3
|
J. Clements, M. Felleisen, R. Findler, M. Flatt, and S. Krishnamurthi. Fostering little languages. Dr. Dobb's Journal, March 2004. (Invited Paper).
|
| |
4
|
|
| |
5
|
Robert Bruce Findler , John Clements , Cormac Flanagan , Matthew Flatt , Shriram Krishnamurthi , Paul Steckler , Matthias Felleisen, DrScheme: a programming environment for Scheme, Journal of Functional Programming, v.12 n.2, p.159-182, March 2002
[doi> 10.1017/S0956796801004208]
|
| |
6
|
M. Flatt. PLT MzScheme: Language manual. http://www.plt-scheme.org/software/|, 1996--2005.
|
 |
7
|
|
| |
8
|
|
| |
9
|
P. Hudak and P. Wadler. Report on the programming language Haskell. Technical Report YALE/DCS/RR777, Yale University, Department of Computer Science, August 1991.
|
 |
10
|
N. I. Adams, IV , D. H. Bartley , G. Brooks , R. K. Dybvig , D. P. Friedman , R. Halstead , C. Hanson , C. T. Haynes , E. Kohlbecker , D. Oxley , K. M. Pitman , G. J. Rozas , G. L. Steele, Jr. , G. J. Sussman , M. Wand , H. Abelson, Revised5 report on the algorithmic language scheme, ACM SIGPLAN Notices, v.33 n.9, p.26-76, Sept. 1, 1998
[doi> 10.1145/290229.290234]
|
| |
11
|
S. Krishnamurthi. Programming languages: Application and interpretation. www.cs.brown.edu/ sk/Publications/Books/ProgLangs/|, 2003--2005.
|
 |
12
|
|
| |
13
|
P. Wadler, W. Taha, and D. MacQueen. How to add laziness to a strict language, without even being odd. In Workshop on Standard ML, Baltimore, September 1998.
|
|