Python 3.0 migration plans?

Paul Rubin http
Fri Sep 28 14:16:15 EDT 2007


TheFlyingDutchman <zzbbaadd at aol.com> 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.



More information about the Python-list mailing list