Closures/Value capture: Difference between revisions
→{{header|Oforth}}
Line 832:
=={{header|Oforth}}==
<lang Oforth>func: newClosure(i) { | j | i sq ->j #[ "I am block number "
10 seq map(#newClosure) at(7) perform</lang>
|
Line 832:
=={{header|Oforth}}==
<lang Oforth>func: newClosure(i) { | j | i sq ->j #[ "I am block number "
10 seq map(#newClosure) at(7) perform</lang>
|
edits