Content deleted Content added
No edit summary |
|||
Line 23:
It seems to me that if you have to wrap a function in a 'proc' object in order to assign it to a variable, then you don't really support first class functions. Something else I would expect to be able to do in a language that supports first class functions:
<code>
def f(x
x+4
g = f
g(2)
</code>
|