Function Objects
l
We can define objects that
behave as
functions:
l
function world:
f(x, y)
l
object world:
f.apply(x, y)
l
Define a
class
for these objects:
Function1, Function2, É depending on the
number of arguments.