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

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.

domain access counter Georg P. Loczewski 2004-03-05