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

Higher Order Function Pattern

This pattern handles functions that take functions as arguments and/or return functions as values. For example the `compose' function takes two functions as arguments and creates a new function that is returned as value.

Georg P. Loczewski 2002-07-20