CS (2017)

Paper by John Hughes, The University of Glasgow. From “Research Topics in Functional Programming” ed. D. Turner, Addison-Wesley, 1990, pp 17–42.

As software becomes more and more complex, it is more and more important to structure it well. Well-structured software is easy to write and to debug, and provides a collection of modules that can be reused to reduce future programming costs. In this paper we show that two features of functional languages in particular, higher-order functions and lazy evaluation, can contribute significantly to modularity. As examples, we manipulate lists and trees, program several numerical algorithms, and implement the alpha-beta heuristic (an algorithm from Artificial Intelligence used in game-playing programs). We conclude that since modularity is the...

Show More


Comments

No comments yet. Be the first to comment!

Related Chunks

Related chunks with this resource

This Article can be found in 1 chunk
Why is functional programming (computer science) interesting? important? Here is a collection of resources about Why Functional Programming Matters

MORE RESOURCES FROM SOURCE

More in FoundryBase from   https://cs.kent.ac.uk