Open Access. Powered by Scholars. Published by Universities.®

Physical Sciences and Mathematics Commons

Open Access. Powered by Scholars. Published by Universities.®

Computer Sciences

California Polytechnic State University, San Luis Obispo

2005

PLT Scheme

Articles 1 - 1 of 1

Full-Text Articles in Physical Sciences and Mathematics

Laziness Without All The Hard Work: Combining Lazy And Strict Languages For Teaching, Eli Barzilay, John Clements Sep 2005

Laziness Without All The Hard Work: Combining Lazy And Strict Languages For Teaching, Eli Barzilay, John Clements

Computer Science and Software Engineering

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 …