by "llothar" <llothar@[EMAIL PROTECTED]
>
Nov 25, 2006 at 04:45 PM
nateastle@[EMAIL PROTECTED]
schrieb:
> For school I am writting a paper on Eiffel. One of the sections of the
> papers is about function support and parameter passing. The question
> that I have is: in a feature is it possible to have another feature as
> a parameter (like ml)?
Thats possible since ~2001 and called agent. Google for this keyword.
They are not closures. They are function pointers, together with a
pointer to the object and some saved parameters that are passed when
called.
Pretty easy to use but not very powerfull compared to functional
languages like ml.