Closures/Value capture: Difference between revisions

Content added Content deleted
Line 480:
 
procedure vcapture(x) # vcapture closes over its argument
return makeProc { repeat { (x[1]^2) @ &source } }
end