Closures/Value capture: Difference between revisions

Content deleted Content added
Franck (talk | contribs)
Franck (talk | contribs)
Line 832:
 
=={{header|Oforth}}==
<lang Oforth>func: newClosure(i) { #[ i sq println ] }
10 seq map(#newClosure) at(7) perform println</lang>
 
{{out}}