TheFlyingDutchman <[EMAIL PROTECTED]> writes: > What is the syntax of a higher order function in C, C++ and Pascal?
void qsort(int *array, int length, int width, int (*compare)()); is a C library example. I think we'd describe qsort as a HOF since one of its arguments (the comparison routine) is a function. We wouldn't say that C has first class functions like Python or Scheme does, since you can't create new functions at runtime. -- http://mail.python.org/mailman/listinfo/python-list