Programming in Prolog (2nd ed.)
Programming in Prolog (2nd ed.)
An introduction to functional programming
An introduction to functional programming
Elements of functional programming
Elements of functional programming
Rapidly implementing languages to compile as C++ without crafting a compiler
Software—Practice & Experience
Hi-index | 0.01 |
In this paper, we show how lazy functional programming techniques can be used within the Java programming language. We provide Java implementations of classic examples of lazy lists, such as the Sieve of Eratosthenes, the Eight Queens Problem, and natural-language parsing. We discuss how well these implementations succeed, compared to their original counterparts. We also point out the potential synergy between adding lazy techniques to Java, and adding generic types. The examples we provide would be suitable for teaching functional programming concepts in the context of a Java-based syllabus.