Year: 2005
Type: article
Abstract: We show that the ability of a lazy language, like Haskell, to allow procedures to lazily generate a stream of tokens can be added to ANSI C++ merely by writing code in a style which uses classes to implement function closures. Coding in this style provides an easy way to handle infinite streams in C++, results in application layer implementations that closely resemble a problem's specification, and can be applied to a wide variety of problems in computer science.
Authors: David O. Renz, Mike Borowczak
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W88170838
