Python syntax in Lisp and Scheme

Jacek Generowicz jacek.generowicz at cern.ch
Wed Oct 15 12:04:46 EDT 2003


mertz at gnosis.cx (David Mertz) writes:

> HOFs are not a special Lisp thing.  Haskell does them much better,
> for example... and so does Python.

mertz at gnosis.cx (David Mertz) writes:

> the alpha and omega of HOFs is that functions are first class
> objects that can be passed and returned.

How do you reconcile these two statements ?

[Hint: functions in Lisps are "first class objects that can be passed
and returned"; how does Python (or Haskell) do this "alpha and omega
of HOFs" "much better" ?]




More information about the Python-list mailing list