CSCI 360 - Survey of Programming Languages

Fall 2014

Assignment 9: Higher-order functions and lazy evaluation

We have been reading the paper Why Functional Programming Matters. A central assertion of the paper is that, for improved modularity, algorithms should be modularized using higher-order functions and lazy evaluation. Your assignment is: