green's functions, passing functions to a routine



I said:


> An easy way to guarantee that you are using the value and not the
> functional value is (+f)(...):
>
>    block([f:foo],[f(2),f[2],f]) =>  [fun, arr, foo, foo()]
>

Sorry, this should have been:

An easy way to guarantee that you are using the value and not the functional
value is (+f)(...):

   f(x):='fun$
   f[x]:='arr$
   f: 'val$
   (+f)() => val()               <<< using global value
   block([f:foo], [f(2), f[2], f, (+f)() ]) =>  [fun, arr, foo, foo()]
<<< uses local value

          -s