Till KTH:s startsida Till KTH:s startsida

Ändringar mellan två versioner

Här visas ändringar i "Higher order functions" mellan 2015-11-24 15:50 av Johan Montelius och 2016-01-11 16:04 av Johan Montelius.

Visa < föregående | nästa > ändring.

Higher order functions

Higher orderfunctions are functions that take functions as arguments. This is a very powerful technique that allows us to write general functions. This is a form of polymorphism, where one function can be used over many different data types. It also allows us to encapsulate partial computations or closures, that can later be executed in another environment. This can be handy when we want to represent an infinite data structure.

Read chapter 9 in the course book.


* higher.pdf