[Grace-core] Eiffel features

Kim Bruce kim at cs.pomona.edu
Sat Apr 9 15:31:45 PDT 2011


In preparation for Monday's lecture in programming languages, I took a look at the Eiffel description in Wikipedia:
	http://en.wikipedia.org/wiki/Eiffel_(programming_language)
There are interesting sections on tuples and "agents".  Agents are their weight of introducing closures -- wrapping 
operations to be passed as parameters, which are then called with a list of arguments.  Thus if a is an agent
then a.call(args) invokes a on the list of elements in args.  An advantage of this notation is you don't need to 
have an overloaded apply with all possible size tuples of arguments.

They also seem to have reasonable notation for creating operators as aliases of methods names.

Kim





More information about the Grace-core mailing list