next up previous contents
Next: Message Passing Pattern Up: General Programming Patterns and Previous: Recursion Pattern   Contents


Higher Order Function Pattern

This pattern is related to functions that take functions as arguments and/or return functions as values. The classical example for a high order function is the abstraction `compose'. This function takes two functions as arguments and creates a new function that is returned as value.



Georg P. Loczewski 2004-03-05


Impressum und Datenschutz