Higher-Order Functions

Course subject(s) Module 06. Higher-Order Functions

Higher-order functions are the ultimate solution to DRY. In this lecture we introduce a number of standard higher-order functions over lists, functions for creating and manipulating other functions.

Jam Session

Erratum: 10.59

The correct steps of the derivation presented in the slides are the following:

mul x y = \s z -> x (y s) z

= \s z -> (x . y) s z

= x . y

Creative Commons License
Introduction to Functional Programming by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://ocw.tudelft.nl/courses/introduction-to-functional-programming/.
Back to top