Hi,
we know the notion of 1st class object, which, applied to functions
means things like being able to give functions as other
functions'arguments, return functions, aggregate them, using them
literally and so on.
What about partial application and the fact that if you define "f a b",
them "f a" also denotes a function that you can later apply to another
argument? Would you say that this is one of the caracteristics of
functions being 1st class objects, or rather that it is a /consequence/
of that?
Since partial application is very function-specific (as opposed to
concepts like litteral manipulation or function arguments/return
values), I'm reluctant to consider it as a higher order characteristic,
but I'd like other opinions.
--
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/
Didier Verna, did...@lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France Fax.+33 (0)1 53 14 59 22 did...@xemacs.org